CVE-2026-48510
published medium CVSS 4.0 · 6.3MessagePack-CSharp: LZ4 decompression allocates from unbounded declared output lengths
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MessagePack-CSharp | — | MessagePack-CSharp>= 3.0, < 3.1.7 · < 2.5.301 | Affected | Not stated | GitHub_M |
Description
MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, when MessagePack-CSharp decompresses Lz4Block or Lz4BlockArray payloads, it reads declared uncompressed lengths from the wire and allocates output buffers based on those lengths before validating that the compressed data is valid or that the declared expansion is reasonable. A small payload can claim a very large uncompressed length and force a large allocation before LZ4 decoding begins. This vulnerability is fixed in 2.5.301 and 3.1.7.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MessagePack-CSharp | MessagePack-CSharp | >= 3.0, < 3.1.7 (affected)< 2.5.301 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-409 CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
1Provider assertions
2GitHub_M · cna
MessagePack-CSharp: LZ4 decompression allocates from unbounded declared output lengths
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 93b6118e7ab9d60685c3025c49ccb7422da79be99a46f3cc7e34f270aaaa36f2
- Ingested
- 23 Sep 2026, 09:17:37 UTC
- Source record
- Official CVE record