PT-2026-51398 · Unknown · Messagepack For C#
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
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
The
UnsafeBlitFormatterBase<T>.Deserialize() function reads an attacker-controlled byteLength from an extension payload and allocates an array based on that value before validating it against the extension header length or remaining payload bytes. While the outer extension header is bounded by available input, this bound is not used to constrain the inner byteLength before allocation, allowing a small payload to request a very large T[] allocation.Recommendations
Update to version 2.5.301.
Update to version 3.1.7.
Exploit
Fix
Allocation of Resources Without Limits
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Messagepack For C#