CVE-2026-48506

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:messagepack:messagepack:*:*:*:*:*:c\#:*:*
cpe:2.3:a:messagepack:messagepack:*:*:*:*:*:c\#:*:*

History

23 Jun 2026, 17:24

Type Values Removed Values Added
References () https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-vh6j-jc39-fggf - () https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-vh6j-jc39-fggf - Mitigation, Vendor Advisory
CPE cpe:2.3:a:messagepack:messagepack:*:*:*:*:*:c\#:*:*
First Time Messagepack messagepack
Messagepack

22 Jun 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-22 22:16

Updated : 2026-06-23 17:24


NVD link : CVE-2026-48506

Mitre link : CVE-2026-48506

CVE.ORG link : CVE-2026-48506


JSON object : View

Products Affected

messagepack

  • messagepack
CWE
CWE-674

Uncontrolled Recursion