CVE-2026-59949
MEDIUM 6.5CVSS 3.1LZ4 Java: Native XXHash implementations can crash the JVM when passed invalid byte array ranges
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.
- Published
- 18 Aug 2026
- Last modified
- 22 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-125CWE-476
- Also known as
- GHSA-xx22-p4ch-683r
- Sources
- NVDJSONOSV GHSA-xx22-p4ch-683rJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | at.yawk.lz4:lz4-java | < 1.11.1 | 1.11.1 |
| OSV | Maven | org.lz4:lz4-java | <= 1.8.1 |
References
- https://github.com/yawkat/lz4-java/commit/dbd86d04b8dd716e1c2bc626be54189997d910da · WEB
- https://github.com/yawkat/lz4-java/releases/tag/v1.11.1 · WEB
- https://github.com/yawkat/lz4-java/security/advisories/GHSA-xx22-p4ch-683r · WEB
- https://github.com/yawkat/lz4-java · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 18 Aug 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Jul 2026)