CVE-2026-48509

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.
Configurations

Configuration 1 (hide)

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

History

23 Jun 2026, 17:24

Type Values Removed Values Added
First Time Messagepack messagepack
Messagepack
References () https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-2f33-pr97-265q - () https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-2f33-pr97-265q - Mitigation, Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1
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 16:16


NVD link : CVE-2026-48509

Mitre link : CVE-2026-48509

CVE.ORG link : CVE-2026-48509


JSON object : View

Products Affected

messagepack

  • messagepack
CWE
CWE-1188

Insecure Default Initialization of Resource