CVE Catalog

CVE-2026-106451

HighCVSS 7.3
Published: Translated: NVD NIST

Summary

The yawkat LZ4 Java library versions 1.7.0 through 1.11.4 contain a vulnerability in the insecure creation of a temporary file. An attacker with access to a shared temporary directory can replace the native library file before it is loaded, potentially leading to code execution in the victim's context.

Risk Assessment

The risk includes local privilege escalation or execution of malicious code on the victim's machine. A successful attack requires specific conditions, but if exploited, it can fully compromise the system.

Recommendation

It is recommended to upgrade immediately to version 1.11.4, which fixes the vulnerability. Additionally, consider using a private temporary directory or a system library.

Other vulnerabilities in yawkat LZ4 Java

See all
Original NVD description (English source)

yawkat LZ4 Java provides LZ4 compression for Java. From 1.7.0 until 1.11.4, net.jpountz.util.Native.load() uses File.createTempFile to create an exclusive temporary .lck file but derives the native-library path by removing the suffix, then FileOutputStream opens that predictable path without exclusive creation, allowing another local user with access to the same shared temporary directory to create or replace the library file before System.load() uses it. Successful exploitation depends on shared-directory permissions, host protections, and winning the race, and can execute native code as the victim; hardened systems may instead cause library loading to fail and fall back to Java implementations. Configurations using a system library, a private java.io.tmpdir, or Java-only implementations are not affected. This issue is fixed in version 1.11.4.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS