CVE-2026-48506
published high CVSS 3.1 · 7.5MessagePack-CSharp: MessagePackReader.Skip can recurse without enforcing maximum object graph depth
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MessagePack-CSharp | — | MessagePack-CSharp>= 3.1.7, < 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, MessagePackReader.TrySkip() recursively descends into nested arrays and maps without incrementing the reader depth or calling the configured depth checks. This bypasses MessagePackSecurity.MaximumObjectGraphDepth, the library's documented protection against deeply nested object graphs. Many generated and dynamic formatters call reader.Skip() when they encounter unknown map keys, unknown array members, ignored fields, or data that should be skipped for forward compatibility. A deeply nested value in one of these skipped positions can therefore cause unbounded recursion and an uncatchable StackOverflowException. 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
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MessagePack-CSharp | MessagePack-CSharp | >= 3.1.7, < 3.1.7 (affected)< 2.5.301 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-674 CWE-674: Uncontrolled Recursion
References
1Provider assertions
2GitHub_M · cna
MessagePack-CSharp: MessagePackReader.Skip can recurse without enforcing maximum object graph depth
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2fc1795d3aa543e2e90f852713c665fc801e1e065daf31c30a869831ce00b471
- Ingested
- 23 Sep 2026, 09:17:37 UTC
- Source record
- Official CVE record