PT-2026-64441 · Maven+3 · At.Yawk.Lz4:Lz4-Java+2
CVE-2026-59949
·
Published
2026-07-24
·
Updated
2026-08-18
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
yawkat LZ4 Java versions prior to 1.11.1
Description
JNI-backed XXHash implementations fail to validate the byte array object and the
off and len arguments, allowing null arrays or oversized ranges to reach native code. This can lead to reading outside the Java array and a fatal termination of the JVM, resulting in a denial of service. This issue affects applications where an attacker can influence the byte array object or the off and len arguments passed to the affected APIs. It does not affect Java-based XXHash implementations or cases where only the contents of a valid byte array are attacker-controlled.API Endpoints:
XXHashFactory.nativeInstance().hash32().hash()XXHashFactory.nativeInstance().hash64().hash()XXHashFactory.nativeInstance().newStreamingHash32().update()XXHashFactory.nativeInstance().newStreamingHash64().update()
Vulnerable Parameters or Variables:
bufbytesofflen
Recommendations
Update to version 1.11.1.
As a temporary workaround, avoid passing attacker-controlled array references, offsets, or lengths to JNI-backed XXHash APIs by validating that arrays are non-null and that
off and len describe a range fully contained in the array.
As a temporary workaround, use XXHashFactory.safeInstance() to avoid the JNI boundary.Exploit
Fix
NULL Pointer Dereference
Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
At.Yawk.Lz4:Lz4-Java
Lz4-Java
Org.Lz4:Lz4-Java