CVE-2026-48109
HIGH 8.2CVSS 3.1MessagePack's LZ4 decompression may fail with AccessViolationException after dereferencing memory from bad input
MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, A vulnerability exists in the optional LZ4 decompression path used by MessagePack compression modes Lz4Block and Lz4BlockArray. The decoder implementation is based on a deprecated fast-decompression algorithm that does not take a source-length bound. A remote attacker can send a crafted MessagePack payload with manipulated LZ4 token/length fields to force out-of-bounds reads from the compressed input buffer. In affected environments, this can trigger an AccessViolationException during decompression, causing process termination (denial of service). Under some conditions, limited unintended memory disclosure from over-read data may also be possible before failure. This vulnerability is fixed in 2.5.301 and 3.1.7.
- Published
- 22 Jun 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-20
- Also known as
- GHSA-hv8m-jj95-wg3x
- Sources
- NVDJSONOSV GHSA-hv8m-jj95-wg3xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | messagepack | messagepackcpe:2.3:a:messagepack:messagepack:*:*:*:*:*:c\#:*:* |
< 2.5.301 | 2.5.301 |
| NVD | messagepack | messagepackcpe:2.3:a:messagepack:messagepack:*:*:*:*:*:c\#:*:* |
>= 3.0.3, < 3.1.7 | 3.1.7 |
| OSV | NuGet | MessagePack | < 2.5.301 | 2.5.301 |
| OSV | NuGet | MessagePack | >= 3.0.214-rc.1, < 3.1.7 | 3.1.7 |
References
- https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-hv8m-jj95-wg3x · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-48109 · ADVISORY
- https://github.com/MessagePack-CSharp/MessagePack-CSharp · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 22 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Jun 2026)