CVE-2026-48502CWE-1188CWE-125CWE-190CWE-407CWE-409CWE-470CWE-502CWE-674CWE-789

MessagePack-CSharp: Denial of service vulnerabilities can swamp the CPU or crash the process with stack and heap overflows

High · published June 22, 2026

CVSS v4.0
8.2
EPSS
0%
Percentile
37.0
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, MessagePackReader.ReadDateTime() can allocate stack memory based on an attacker-controlled MessagePack extension length. In the slow path for timestamp extension parsing, the computed tokenSize includes the extension body length from the wire and is used in a stackalloc operation before the extension length is validated as one of the valid timestamp sizes. A very small payload can claim a large timestamp extension body and cause a stack allocation large enough to trigger an uncatchable StackOverflowException, terminating the host process. This vulnerability is fixed in 2.5.301 and 3.1.7.

The record
Technical detail
CVSS v4.0
8.2 · HIGH
Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.00437 · 37.0th percentile
Weaknesses
CWE-1188 · Initialization of a Resource with an Insecure Default; CWE-125 · Out-of-bounds Read; CWE-190 · Integer Overflow or Wraparound; CWE-407 · Inefficient Algorithmic Complexity; CWE-409 · Improper Handling of Highly Compressed Data (Data Amplification); CWE-470 · Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection'); CWE-502 · Deserialization of Untrusted Data; CWE-674 · Uncontrolled Recursion; CWE-789 · Memory Allocation with Excessive Size Value
Published
2026-06-22T21:18Z
EPSS history
Timeline
  • 22 JUN 21:18Z
    MessagePack-CSharp: Denial of service vulnerabilities can swamp the CPU or crash the process with stack and heap overflows
    cvelistv5