LZ4 Decompression Vulnerability in MessagePack for C# by MessagePack-CSharp
CVE-2026-48109
What is CVE-2026-48109?
A vulnerability exists in the LZ4 decompression method of MessagePack for C#, specifically in versions earlier than 2.5.301 and 3.1.7. The issue arises from the use of a deprecated fast-decompression algorithm, lacking a source-length boundary check. An attacker can exploit this by sending a specially crafted MessagePack payload containing manipulated LZ4 token/length fields, which may result in out-of-bounds reads from the compressed input buffer. This can cause an AccessViolationException during the decompression process, leading to potential process termination and denial of service. In some scenarios, this vulnerability might also lead to limited unintended memory disclosure before the failure occurs. It is crucial for users operating affected versions to upgrade to the patched versions to mitigate these risks.
Affected Version(s)
MessagePack-CSharp >= 3.1.7, < 3.1.7 < 3.1.7, 3.1.7
MessagePack-CSharp < 2.5.301 < 2.5.301
