Back to overview

CVE-2026-48506

HIGH
7.5
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-48506
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-05-21 16:18 UTC
Published
2026-06-22 21:17 UTC
Last updated
2026-06-22 21:17 UTC
Primary CWE
CWE-674
CWE-674: Uncontrolled Recursion
Vendor / Product
MessagePack-CSharp / MessagePack-CSharp
Sources
cve.org  ·  NVD

Severity & Metrics

7.5 HIGH CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products (1)
VendorProductPlatformVersions
MessagePack-CSharp MessagePack-CSharp >= 3.1.7, < 3.1.7, < 2.5.301
Weakness (CWE)
CWESourceDescription
CWE-674 cna CWE-674: Uncontrolled Recursion
CVSS scores (1)
ScoreSeverityVersionSourceVector
7.5 HIGH 3.1 cna CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References (1)
Back to overview