CVE-2026-48516
MessagePack-CSharp: InterfaceLookupFormatter bypasses collision-resistant comparer settings
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| nuget | MessagePack | < 2.5.301 | 2.5.301 |
Betroffene Produkte · Messagepack
| Produkt | Betroffene Versionen |
|---|---|
| Messagepack | vor 2.5.301 ab 3.0.3 vor 3.1.7 |