PT-2026-51395 · Unknown · Messagepack For C#

·

CVE-2026-48511

·

Published

2026-06-22

·

Updated

2026-06-25

CVSS v3.1

7.5

High

VectorAV: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 ExpandoObjectFormatter.Deserialize() function populates System.Dynamic.ExpandoObject by calling IDictionary<string, object>.Add for each map entry. Because ExpandoObject maintains member names in array-like structures, inserting a large number of distinct keys can lead to repeated linear scans and array copies. When processing large attacker-controlled maps, this results in quadratic CPU and memory allocation behavior. This occurs even when ExpandoObjectResolver.Options is configured with MessagePackSecurity.UntrustedData, as collision-resistant dictionary comparers do not protect the internal insertion mechanisms of ExpandoObject.
Recommendations Update to version 2.5.301. Update to version 3.1.7.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-48511
GHSA-2X83-8G95-XH59

Affected Products

Messagepack For C#