Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-48506— MessagePack-CSharp: MessagePackReader.Skip can recurse without enforcing maximum object graph depth

Quick assessment

Affected
MessagePack-CSharp MessagePack-CSharp
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

MessagePack-CSharp MessagePack-CSharp是MessagePack-CSharp团队的一款消息序列化工具。 MessagePack-CSharp 2.5.301之前版本和3.1.7之前版本存在资源管理错误漏洞,该漏洞源于MessagePackReader.TrySkip()在递归处理嵌套数组和映射时未增加读取器深度或调用配置的深度检查,绕过了MaximumObjectGraphDepth限制,可能导致不可捕获的StackOverflowException。

CVSS 7.5 · High EPSS 0.47% · P39

Affected Version Matrix 2

VendorProduct Version RangeStatus
MessagePack-CSharp MessagePack-CSharp >= 3.1.7, < 3.1.7 affected
< 2.5.301 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-48506

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
MessagePack-CSharp: MessagePackReader.Skip can recurse without enforcing maximum object graph depth
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未经控制的递归
Source: CVE Program / CVE List V5
Vulnerability Title
MessagePack-CSharp 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
MessagePack-CSharp MessagePack-CSharp是MessagePack-CSharp团队的一款消息序列化工具。 MessagePack-CSharp 2.5.301之前版本和3.1.7之前版本存在资源管理错误漏洞,该漏洞源于MessagePackReader.TrySkip()在递归处理嵌套数组和映射时未增加读取器深度或调用配置的深度检查,绕过了MaximumObjectGraphDepth限制,可能导致不可捕获的StackOverflowException。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
MessagePack-CSharp MessagePack-CSharp >= 3.1.7, < 3.1.7 -

II. Public POCs for CVE-2026-48506

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 9881 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-48506

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-48506 (1)

Same Patch Batch · MessagePack-CSharp · 2026-06-22 · 12 CVEs total

CVE-2026-48109 8.2 HIGH MessagePack-CSharp: LZ4 decompression may fail with AccessViolationException after derefer
CVE-2026-48516 MessagePack-CSharp: InterfaceLookupFormatter bypasses collision-resistant comparer setting
CVE-2026-48511 MessagePack-CSharp: ExpandoObject formatter can perform quadratic insertion work on untrus
CVE-2026-48513 MessagePack-CSharp: DynamicUnionResolver generated deserializers miss depth enforcement
CVE-2026-48512 MessagePack-CSharp: JSON conversion APIs can recurse without consistent depth enforcement
CVE-2026-48502 MessagePack-CSharp: Denial of service vulnerabilities can swamp the CPU or crash the proce
CVE-2026-48509 MessagePack-CSharp: ASP.NET Core MessagePackInputFormatter defaults to TrustedData for HTT
CVE-2026-48510 MessagePack-CSharp: LZ4 decompression allocates from unbounded declared output lengths
CVE-2026-48517 MessagePack-CSharp: Typeless deserialization type restrictions do not recurse into arrays
CVE-2026-48515 MessagePack-CSharp: Multi-dimensional array formatters allocate from unchecked dimensions
CVE-2026-48514 MessagePack-CSharp: Unity unsafe blit formatter allocates from unbounded byte length

IV. Related Vulnerabilities

V. Comments for CVE-2026-48506

No comments yet


Leave a comment