Back to CVE records
Medium 6.3Published Jun 22, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects MessagePack-CSharp and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
6.3 MEDIUM (v4.0, CNA)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
Weakness (CWE)
CWE-770
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Jun 25, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
MessagePack-CSharp MessagePack-CSharp
messagepack_csharp:messagepack_csharp (from the name)
from 3.0, < 3.1.7; before 2.5.301
CNA record
messagepack messagepack
messagepack:messagepack
before 2.5.301; from 3.0.3 before 3.1.7
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.