PT-2026-51399 · 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
Multi-dimensional array formatters read dimension lengths directly from the payload and allocate
T[,], T[,,], or T[,,,] before validating that the dimension product matches the encoded element count. Because the allocation of the target multi-dimensional array occurs before the dimensions are checked against the guarded element array header, a small payload can declare large dimensions and provide a tiny or empty inner array, leading to a large heap allocation before element data is validated.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#