CVE-2026-48511
published medium CVSS 4.0 · 6.3MessagePack-CSharp: ExpandoObject formatter can perform quadratic insertion work on untrusted maps
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MessagePack-CSharp | — | MessagePack-CSharp>= 3.0, < 3.1.7 · < 2.5.301 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MessagePack-CSharp | MessagePack-CSharp | >= 3.0, < 3.1.7 (affected)< 2.5.301 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-407 CWE-407: Inefficient Algorithmic Complexity
References
1Provider assertions
2GitHub_M · cna
MessagePack-CSharp: ExpandoObject formatter can perform quadratic insertion work on untrusted maps
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 22c69f216335fe4c1c60f102dd3f0cf076a0363959e06bdeff1b7ddf1a8b4053
- Ingested
- 23 Sep 2026, 09:17:37 UTC
- Source record
- Official CVE record