Impact
Yawkat LZ4 Java implements LZ4 compression for Java and includes native XXHash hashing. Prior to version 1.11.1 the native code does not validate the byte array, offset, and length parameters supplied to hash functions. Passing a null array or an oversized range allows the JVM to read beyond the bounds of the Java array in native code, which results in a fatal JVM crash. The exploit does not provide arbitrary code execution; instead it causes the Java application to terminate abruptly, leading to loss of availability for anyone relying on the library.
Affected Systems
The vulnerability affects the yawkat lz4-java library, specifically any installation of the library prior to version 1.11.1. All Java applications that depend on this library and use the native XXHash functions are impacted.
Risk and Exploitability
The CVSS score for this vulnerability is 6.5, indicating a moderate severity. There is no EPSS data available, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is inferred to be local or through any application that uses the library; an attacker would need to supply a crafted byte array to the hash functions which would be executed within the JVM context.
OpenCVE Enrichment
Github GHSA