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.
Severity (CVSS)
| Base score | 6.5 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H |
| Provided by | CNA |
Weaknesses
- CWE-476 — CWE-476: NULL Pointer Dereference
Affected products
| Vendor | Product | Versions |
|---|---|---|
| yawkat | lz4-java | < 1.11.1 |
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)
Generated from the official CVE List on 19 Aug 2026 07:05 UTC.