CVE-2026-48516: MessagePack-CSharp · InterfaceLookupFormatter bypasses collision-resistant comparer settings
Affects MessagePackSource GCVE Database
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
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| NuGetMessagePack | Affected
| Fixed in
|
| NuGetMessagePack | Affected
| Fixed in
|
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.