SecurityContext

CVE-2026-48509: MessagePack for C# - Denial of Service

  • Cve: CVE-2026-48509
  • Name: MessagePack for C# - Denial of Service
  • 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.
  • Impact: Attackers can cause denial-of-service by exploiting hash-collision attacks in deserialization, potentially disrupting application availability.
  • Remediation: Upgrade to version 2.5.301 or 3.1.7 or later.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Epss score: 0.00416
  • Epss percentile: 0.36417
  • Assignee: [email protected]
  • Published at: 2026-06-22T22:16:47Z
  • Age in days: 155
  • Modified at: 2026-06-25T16:16:35Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-48509
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-1188Initialization of a Resource with an Insecure Default

References

UrlSourceTags
https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-2f33-pr97-265qnvdMitigation, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
messagepack:messagepack>= 3.0.3, < 3.1.7; < 2.5.301nonvd/v1/products/messagepack/messagepack

Projects

RepositoryLink kindsIndexedUrl
MessagePack-CSharp/MessagePack-CSharppackage, security_advisoryyes/v1/repositories/MessagePack-CSharp/MessagePack-CSharp

Index

  • Repositories: 56
  • Repositories high signal: 54
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts