CVE-2026-48509

Critical

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductMessagepack
PublishedJun 22, 2026
First seenJun 22, 2026
Weakness typeCWE-1188CWE-1188

How to fix

Update
  • messagepack messagepack2.5.301, 3.1.7 or later
  • MessagePack2.5.301, 3.1.7 or later

Affected products

ProductAffected versionsFixed in
messagepack messagepackv < 2.5.301, 3.0.3 ≤ v < 3.1.72.5.301, 3.1.7
MessagePackNuGetv < 2.5.301, 3.0 ≤ v < 3.1.72.5.301, 3.1.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.