Skip to main content
VulnerabilityPublished

CVE-2026-48516: MessagePack-CSharp · InterfaceLookupFormatter bypasses collision-resistant comparer settings

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 29 Oct 2026, 19:04 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 exposing ILookup<TKey,TElement> in data transfer objects deserializing untrusted data. Alternatively, use collection types that already employ the security-aware comparer or implement validation and size caps on collections at the transport boundary to mitigate potential denial of service.

Description

MessagePack-CSharp's InterfaceLookupFormatter<TKey,TElement> constructs an internal dictionary using the default equality comparer instead of the security-aware comparer when deserializing ILookup<TKey,TElement>. This omission allows an attacker to craft payloads with colliding keys that degrade dictionary insertion performance, causing a CPU denial of service even when the application opts into untrusted-data security settings. The vulnerability affects versions of MessagePack prior to 2.5.301 and versions 3.0 up to but not including 3.1.7.

References

Community reviews

Loading reviews…