Skip to main content
VulnerabilityPublished

CVE-2026-106451: yawkat lz4-java · Time-of-check Time-of-use (TOCTOU) Race Condition

Affects yawkat lz4-javaSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.3 High : upgrade to 1.11.4 soon.

Data as of 20 Nov 2026, 17:34 UTC

CVSS 4.0 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.11.4
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.

What to do

Upgrade lz4-java and net.jpountz/lz4-java to 1.11.4.

Affected software

ProductAffectedFixed in
yawkatlz4-javaAffected
  • <1.11.4
Fixed in
  • 1.11.4
Mavennet.jpountz/lz4-javapkg:maven/net.jpountz/lz4-javaOther threatsAffected
  • <1.11.4
Fixed in
  • 1.11.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in lz4-java version 1.11.4, which securely extracts the native library into a temporary file created with exclusive creation and random naming, eliminating the race condition. Users should upgrade to version 1.11.4 or later. As a workaround for older versions, set java.io.tmpdir to a directory writable only by the application user or install liblz4-java on the java.library.path to avoid extraction to a shared temporary directory. No other mitigations are specifically recommended.

Description

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.

References

Community reviews

Loading reviews…