CVE-2026-48511
Published:June 22, 2026
Updated:June 26, 2026
MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, ExpandoObjectFormatter.Deserialize populates System.Dynamic.ExpandoObject by calling IDictionary<string, object>.Add for each map entry. ExpandoObject internally maintains member names in array-like structures, so inserting many distinct keys can require repeated linear scans and array copies. For large attacker-controlled maps, this produces quadratic CPU and allocation behavior. The issue is especially surprising because ExpandoObjectResolver.Options is configured with MessagePackSecurity.UntrustedData, but collision-resistant dictionary comparers cannot protect ExpandoObject insertion internals. This vulnerability is fixed in 2.5.301 and 3.1.7.
Affected Packages
MessagePack (DOT_NET):
Affected version(s) >=0.0.0.0 <2.5.301Fix Suggestion:
Update to version 2.5.301MessagePack (DOT_NET):
Affected version(s) >=3.0.3.6 <3.1.7Fix Suggestion:
Update to version 3.1.7messagepack (NUGET):
Affected version(s) >=3.0.3 <3.1.7Fix Suggestion:
Update to version 3.1.7messagepack (NUGET):
Affected version(s) >=0.1.0-beta <2.5.301Fix Suggestion:
Update to version 2.5.301Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Inefficient Algorithmic Complexity
EPSS
Base Score:
0.23