NetSight
medium6.5

CVE-2026-59949

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

Impact

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

EcosystemPackageAffectedFixed in
mavenat.yawk.lz4:lz4-java<= 1.11.01.11.1
mavenorg.lz4:lz4-java<= 1.8.1none recorded

Weakness classification

References