Skip to main content
VulnerabilityPublished

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

Affects MessagePackSource GCVE Database

0
Compare

Not known to be exploited · CVSS 6.3 Medium : upgrade to 2.5.301 when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.5.301, 3.1.7
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade MessagePack to 2.5.301; MessagePack to 3.1.7.

Affected software

ProductAffectedFixed in
NuGetMessagePackAffected
  • <2.5.301
Fixed in
  • 2.5.301
NuGetMessagePackAffected
  • >=3.0 <3.1.7
Fixed in
  • 3.1.7

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is prepared and will be released in coordinated versions of MessagePack. Users should upgrade to the patched versions once available. Until then, avoid deserializing untrusted MessagePack payloads into models containing multi-dimensional arrays (T[,], T[,,], T[,,,]). Prefer using schema shapes that allow validation before allocation, such as bounded lists, dictionaries with application-level count limits, or jagged arrays with limits. Message-size limits can reduce but not eliminate the risk. Monitor vendor advisories for the release of patched versions and upgrade accordingly.

Description

MessagePack-CSharp contains a vulnerability in its multi-dimensional array formatters where dimension lengths are read from untrusted payloads and used to allocate arrays before validating that the total element count matches the encoded data. This can lead to excessive memory allocation and potential out-of-memory conditions when deserializing untrusted data into multi-dimensional arrays such as T[,], T[,,], or T[,,,]. The issue affects versions prior to 2.5.301 and versions 3.0 up to but not including 3.1.7. Fixes are prepared but not yet released. Until patched, users should avoid deserializing untrusted payloads into multi-dimensional arrays and prefer safer data shapes.

References

Community reviews

Loading reviews…