PT-2026-51390 · Unknown · Messagepack For C#
CVSS v4.0
8.2
High
| Vector | AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
MessagePack for C# versions prior to 2.5.301
MessagePack for C# versions prior to 3.1.7
Description
MessagePack for C# is a MessagePack serializer for C#. The
ReadDateTime() function in MessagePackReader can allocate stack memory based on an attacker-controlled MessagePack extension length. During 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 against valid timestamp sizes. A small payload can claim a large timestamp extension body, triggering an uncatchable StackOverflowException (a critical error that occurs when the execution stack overflows its allocated memory), which terminates the host process.Recommendations
Update to version 2.5.301.
Update to version 3.1.7.
Exploit
Fix
DoS
Out of bounds Read
Uncontrolled Recursion
Deserialization of Untrusted Data
Integer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Messagepack For C#