Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.lz4/lz4-java
  4. ›
  5. CVE-2026-59949

CVE-2026-59949: LZ4 Java: Native XXHash implementations can crash the JVM when passed invalid byte array ranges

July 24, 2026

Insufficient validation of byte array arguments in JNI-based XXHash implementations in lz4-java 1.11.0 and earlier allows callers to crash the JVM by passing an invalid array reference or invalid range to native XXHash methods.

This affects applications where an attacker can influence the byte array object or the off / len arguments passed to affected XXHash APIs. It does not affect the common case where only the contents of a valid byte array are attacker-controlled.

Java-based XXHash implementations are not affected.

References

  • github.com/advisories/GHSA-xx22-p4ch-683r
  • github.com/yawkat/lz4-java/commit/dbd86d04b8dd716e1c2bc626be54189997d910da
  • github.com/yawkat/lz4-java/releases/tag/v1.11.1
  • github.com/yawkat/lz4-java/security/advisories/GHSA-xx22-p4ch-683r
  • nvd.nist.gov/vuln/detail/CVE-2026-59949

Code Behaviors & Features

Detect and mitigate CVE-2026-59949 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 up to 1.8.1

Solution

Unfortunately, there is no solution available yet.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read
  • CWE-476: NULL Pointer Dereference

Source file

maven/org.lz4/lz4-java/CVE-2026-59949.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 08 Aug 2026 00:18:44 +0000.