{"id":"CVE-2026-48516","published":"2026-06-22T21:09:51Z","modified":"2026-06-25T15:54:33Z","title":"MessagePack-CSharp: InterfaceLookupFormatter bypasses collision-resistant comparer settings","vendor":"MessagePack-CSharp","product":"MessagePack-CSharp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00405,"percentile":0.35633,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-q2h6-ghwm-5qm8","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.5,"factors":[{"name":"EPSS percentile","points":7.13},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"messagepack-csharp","affectedVersions":[{"vendor":"MessagePack-CSharp","product":"MessagePack-CSharp","versions":[">= 3.0, < 3.1.7","< 2.5.301"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-23T12:28:14.996422Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"MessagePack","vulnerableRanges":["<2.5.301",">=3.0, <3.1.7"],"patched":["2.5.301","3.1.7"],"from":["GHSA-q2h6-ghwm-5qm8"],"provenance":"source"}],"summary":{"text":"MessagePack-CSharp, the MessagePack serializer for C#, has a flaw in its InterfaceLookupFormatter<TKey,TElement> component, which builds an internal dictionary using the default equality comparer rather than the security-aware comparer configured through the options. An attacker who can send serialized data to an application that deserializes ILookup<TKey,TElement> values can exploit hash collisions to cause a CPU denial of service over the network, without authentication or user interaction, and this works even when the application has enabled the untrusted-data security settings.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:03Z"},"euvd":{"id":"EUVD-2026-38380","exploited":false,"provenance":"source"}}