CVE-2026-48516

MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, InterfaceLookupFormatter<TKey,TElement> constructs an internal Dictionary<TKey, IGrouping<TKey,TElement>> with the default equality comparer instead of the security-aware comparer supplied by options.Security.GetEqualityComparer<TKey>(). This formatter omission allows hash-collision CPU denial of service against ILookup<TKey,TElement> even when the application has opted into the untrusted-data security posture This vulnerability is fixed in 2.5.301 and 3.1.7.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:messagepack:messagepack:*:*:*:*:*:c\#:*:*
cpe:2.3:a:messagepack:messagepack:*:*:*:*:*:c\#:*:*

History

25 Jun 2026, 17:16

Type Values Removed Values Added
References () https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-q2h6-ghwm-5qm8 - Vendor Advisory, Mitigation () https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-q2h6-ghwm-5qm8 - Mitigation, Vendor Advisory

23 Jun 2026, 17:19

Type Values Removed Values Added
References () https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-q2h6-ghwm-5qm8 - () https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-q2h6-ghwm-5qm8 - Vendor Advisory, Mitigation
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
First Time Messagepack messagepack
Messagepack
CPE cpe:2.3:a:messagepack:messagepack:*:*:*:*:*:c\#:*:*

22 Jun 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-22 22:16

Updated : 2026-06-25 17:16


NVD link : CVE-2026-48516

Mitre link : CVE-2026-48516

CVE.ORG link : CVE-2026-48516


JSON object : View

Products Affected

messagepack

  • messagepack
CWE
CWE-407

Inefficient Algorithmic Complexity