Skip to main content
← All vulnerabilities
CVE-2026-48514GHSA-W567-GJR2-HM5J

MessagePack-CSharp: Unity unsafe blit formatter allocates from unbounded byte length

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.7, 2.5.301
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, UnsafeBlitFormatterBase<T>.Deserialize reads an attacker-controlled byteLength from an extension payload and allocates an array based on that value before validating it against the extension header length or remaining payload bytes. The outer extension header is bounded by available input, but that bound is not used to constrain the inner byteLength before allocation. A very small payload can therefore request a very large T[] allocation. This vulnerability is fixed in 2.5.301 and 3.1.7.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • MessagePack-CSharp MessagePack-CSharp

    From 3.0 · fixed in 3.1.7; fixed in 2.5.301

  • MessagePackNuGet

    fixed in 2.5.301

  • MessagePackNuGet

    From 3.0 · fixed in 3.1.7

References 1

GitHub · MessagePack-CSharp/MessagePack-CSharp