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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-48515— MessagePack-CSharp: Multi-dimensional array formatters allocate from unchecked dimensions

AI Predicted 7.5 Difficulty: Easy EPSS 0.23% · P14

Affected Version Matrix 2

VendorProductVersion RangeStatus
MessagePack-CSharpMessagePack-CSharp>= 3.0, < 3.1.7affected
< 2.5.301affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-48515

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: Multi-dimensional array formatters allocate from unchecked dimensions
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, MessagePack-CSharp's multi-dimensional array formatters read dimension lengths directly from the payload and allocate T[,], T[,,], or T[,,,] before validating that the dimension product matches the encoded element count. The formatter reads a guarded element array header, but allocation of the target multi-dimensional array happens before the dimensions are checked against that element count. A small payload can therefore declare large dimensions, provide an empty or tiny inner array, and cause a large heap allocation before element data is validated. This vulnerability is fixed in 2.5.301 and 3.1.7.
Source: CVE Program / CVE List V5
CVSS Information
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
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之前版本存在资源管理错误漏洞,该漏洞源于多维数组格式化器直接从有效载荷读取维度长度并分配内存,可能导致大数据堆分配。
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

VendorProductAffected VersionsCPESubscribe
MessagePack-CSharpMessagePack-CSharp >= 3.0, < 3.1.7 -

II. Public POCs for CVE-2026-48515

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-48515

登录查看更多情报信息。

Vendor Advisories for CVE-2026-48515 (1)

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

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-48515

No comments yet


Leave a comment