CVE-2026-48109CWE-20

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

High · published June 22, 2026

CVSS v3.1
8.2
EPSS
1%
Percentile
42.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00509 · 42.6th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2026-06-22T21:19Z
EPSS history
Timeline
  • 22 JUN 21:19Z
    MessagePack-CSharp: LZ4 decompression may fail with AccessViolationException after dereferencing memory from bad input
    cvelistv5