Vulnerability · Published Aug 18, 2026 · Assigned by GitHub_M
CVE-2026-59949yawkat LZ4 Java: JVM Crash via Null Byte Array in lz4-java Streaming XXHash JNI (StreamingXXHash32JNI / StreamingXXHash64JNI)
Medium 6.5
In plain English
A medium-severity null pointer dereference in lz4-java from yawkat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
yawkat LZ4 Java provides LZ4 compression for Java. Prior to 1.11.1, JNI-backed XXHash implementations fail to validate the byte array object and the off and len arguments in XXHashFactory.nativeInstance().hash32().hash(), XXHashFactory.nativeInstance().hash64().hash(), XXHashFactory.nativeInstance().newStreamingHash32().update(), and XXHashFactory.nativeInstance().newStreamingHash64().update(), allowing null arrays or oversized ranges to reach native code, read outside the Java array, and fatally terminate the JVM. This issue is fixed in version 1.11.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | lz4-java | no fix listed | DEBIAN-CVE-2026-59949 |
| Debian:13 | lz4-java | no fix listed | DEBIAN-CVE-2026-59949 |
| Debian:14 | lz4-java | 1.11.2+ds1-1 | DEBIAN-CVE-2026-59949 |
| Maven | at.yawk.lz4:lz4-java | 1.11.1 | GHSA-xx22-p4ch-683r |
| Maven | org.lz4:lz4-java | no fix listed | GHSA-xx22-p4ch-683r |
| Ubuntu:22.04:LTS | lz4-java | no fix listed | UBUNTU-CVE-2026-59949 |
| Ubuntu:24.04:LTS | lz4-java | no fix listed | UBUNTU-CVE-2026-59949 |
| Ubuntu:26.04:LTS | lz4-java | no fix listed | UBUNTU-CVE-2026-59949 |
| Ubuntu:26.10 | lz4-java | no fix listed | UBUNTU-CVE-2026-59949 |
Affected products (as reported)
Weakness: CWE-476 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
References
- https://github.com/yawkat/lz4-java/security/advisories/GHSA-xx22-p4ch-683r x_refsource_CONFIRM
- https://github.com/yawkat/lz4-java/commit/dbd86d04b8dd716e1c2bc626be54189997d910da x_refsource_MISC
- https://github.com/yawkat/lz4-java/releases/tag/v1.11.1 x_refsource_MISC