# CVE-2026-48109: MessagePack-CSharp: LZ4 decompression may fail with AccessViolationException after dereferencing memory from bad input

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-06-11T20:34:10.000Z
- Modified: 2026-09-10T03:50:50.662Z
- Also known as: GHSA-hv8m-jj95-wg3x
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- MessagePack-CSharp MessagePack-CSharp: >= 3.1.7, < 3.1.7; < 2.5.301
- MessagePack (NuGet): before 2.5.301; from 3.0.214-rc.1 before 3.1.7
- messagepack messagepack: before 2.5.301; from 3.0.3 before 3.1.7

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`

## 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)

## Sources

- CVE List: [CVE-2026-48109](https://www.cve.org/CVERecord?id=CVE-2026-48109), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-hv8m-jj95-wg3x](https://github.com/advisories/GHSA-hv8m-jj95-wg3x), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-48109](https://nvd.nist.gov/vuln/detail/CVE-2026-48109), Public domain, modified 2026-06-23

---

Page: https://cve.day/CVE-2026-48109 · Whole record: https://cve.day/CVE-2026-48109.json · Rebuilt by cve.day 2026-11-25T22:59:25.419Z
