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

CVE-2026-48109: MessagePack's LZ4 decompression may fail with AccessViolationException after dereferencing memory from bad input

June 11, 2026

A vulnerability exists in the optional LZ4 decompression path used by MessagePack compression modes Lz4Block and Lz4BlockArray.

The decoder implementation is based on a deprecated fast-decompression algorithm that does not take a source-length bound. A remote attacker can send a crafted MessagePack payload with manipulated LZ4 token/length fields to force out-of-bounds reads from the compressed input buffer. In affected environments, this can trigger an AccessViolationException during decompression, causing process termination (denial of service). Under some conditions, limited unintended memory disclosure from over-read data may also be possible before failure.

This issue affects applications that deserialize untrusted data while LZ4 compression is enabled.

References

  • github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-hv8m-jj95-wg3x
  • github.com/advisories/GHSA-hv8m-jj95-wg3x
  • nvd.nist.gov/vuln/detail/CVE-2026-48109

Code Behaviors & Features

Detect and mitigate CVE-2026-48109 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.214-rc.1 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 8.2 HIGH

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

Learn more about CVSS

Source file

nuget/MessagePack/CVE-2026-48109.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 23 Jun 2026 12:24:57 +0000.