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.
References
| Link | Resource |
|---|---|
| https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-hv8m-jj95-wg3x | Mitigation Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
23 Jun 2026, 17:25
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-hv8m-jj95-wg3x - Mitigation, Vendor Advisory | |
| CPE | cpe:2.3:a:messagepack:messagepack:*:*:*:*:*:c\#:*:* | |
| First Time |
Messagepack messagepack
Messagepack |
22 Jun 2026, 22:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-22 22:16
Updated : 2026-06-23 17:25
NVD link : CVE-2026-48109
Mitre link : CVE-2026-48109
CVE.ORG link : CVE-2026-48109
JSON object : View
Products Affected
messagepack
- messagepack
CWE
CWE-20
Improper Input Validation
