Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. MessagePack
  4. ›
  5. CVE-2026-48514

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

June 25, 2026

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.

References

  • github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-w567-gjr2-hm5j
  • github.com/advisories/GHSA-w567-gjr2-hm5j
  • nvd.nist.gov/vuln/detail/CVE-2026-48514

Code Behaviors & Features

Detect and mitigate CVE-2026-48514 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.5.301, all versions starting from 3.0.0 before 3.1.7

Fixed versions

  • 2.5.301
  • 3.1.7

Solution

Upgrade to versions 2.5.301, 3.1.7 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

nuget/MessagePack/CVE-2026-48514.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 26 Jun 2026 12:17:02 +0000.