CVE-2026-48509
Critical · CVSS 9.1MessagePack for C# (MessagePack-CSharp) — Insecure default serializer options leading to denial-of-service via hash-collision attack (CWE-1188)
- CVSS
- 9.1
- nvd
- EPSS
- 0.24%
- 14th pct
- KEV
- No
- Class
- other
- CWE-1188
Description
MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, the parameterless MessagePackInputFormatter() constructor uses default serializer options, which resolve to MessagePackSerializerOptions.Standard with MessagePackSecurity.TrustedData. The formatter is designed for ASP.NET Core MVC request bodies, which commonly cross an HTTP trust boundary. This insecure default can expose applications to denial-of-service attacks that MessagePackSecurity.UntrustedData is intended to mitigate, such as hash-collision attacks against dictionary-like model properties. This vulnerability is fixed in 2.5.301 and 3.1.7.
Search profile — drives PoC discovery
References
Status: enriched · ingested 2026-06-23T18:00:15.000Z · profiled 2026-06-24T06:30:26.000Z