CVE-2026-48109Messagepack
High 8.2 No auth needed
Follow: this CVE · Messagepack · Messagepack We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.2
- EPSS
- —
- Auth required
- No
- Published
- Jun 22, 2026
- Updated
- Jun 23, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Messagepack.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| NuGet | MessagePack |
< 2.5.301 |
2.5.301 |
dotnet add package MessagePack --version 2.5.301 |
| NuGet | MessagePack |
≥ 3.0.214-rc.1 < 3.1.7 |
3.1.7 |
dotnet add package MessagePack --version 3.1.7 |
Per OSV / GitHub Advisories (GHSA-hv8m-jj95-wg3x). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| messagepack | messagepack | < 2.5.301 |
| messagepack | messagepack | ≥ 3.0.3 < 3.1.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Mitigation Vendor Advisory