cve.bz

CVE-2026-106451 yawkat lz4-java: Insecure Temporary File

7.3 highEPSS 0.2%Fix available

High (7.3) in yawkat lz4-java. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in at.yawk.lz4:lz4-java 1.11.4.

On this page
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.

Severity

CVSS 4.0

7.3 high
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
EPSS
0.2% (unchanged from 0.2% a week ago; 0.08% 30 days ago) estimated probability of exploitation activity in the next 30 days; 5th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
CWE-377 Insecure Temporary File deprecated by MITRE
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • at.yawk.lz4:lz4-java (Maven): fixed in 1.11.4

Ask an AI about this CVE

Show the promptExplain CVE-2026-106451 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-106451?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-106451?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-106451 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
yawkat lz4-java< 1.11.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mcr4-qmvw-px4gMavenat.yawk.lz4:lz4-java<1.11.41.11.4
GHSA-mcr4-qmvw-px4gMavenorg.lz4:lz4-java>=1.7.0 <=1.8.1no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14lz4-javano fix listedDEBIAN-CVE-2026-106451
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 2 morelz4-javano fix listedUBUNTU-CVE-2026-106451

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate impact for Red Hat products because exploitation requires a local attacker to win a race condition during native library extraction within a shared temporary folder. An unauthorized user on the same host must predict and alter the extracted library file before the runtime dynamically loads it. In typical enterprise and containerized environments, isolated execution contexts and user-restricted temporary filesystems significantly restrict exposure to this flaw.

Red Hat's mitigation

Configure affected Java applications to use a dedicated, private temporary directory rather than a world-writable directory such as /tmp.

1. Create a directory accessible only by the service account running the Java process:

```bash

mkdir -p /var/run/app-private-tmp

chmod 700 /var/run/app-private-tmp

```

2. Add the `java.io.tmpdir` system property to the application startup arguments or service environment:

```

-Djava.io.tmpdir=/var/run/app-private-tmp

```

Caveats:

Applying this configuration change requires restarting the target Java application or service. Ensure that the configured directory is maintained across reboots with correct ownership and SELinux permissions.

ProductPackageStateAdvisory
OpenShift Developer Tools and Servicesjenkins-2-pluginsFix deferred
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel8Fix deferred
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel9Fix deferred
Red Hat build of Apache Camel 4 for Quarkus 3lz4-javaFix deferred
Red Hat build of Apache Camel for Spring Boot 4liblz4-java.soFix deferred
Red Hat build of Apache Camel for Spring Boot 4lz4-javaFix deferred
Red Hat build of Apicurio Registry 3lz4-javaFix deferred
Red Hat build of Debezium 3lz4-javaFix deferred
Red Hat build of Quarkuslz4-javaAffected
Red Hat Enterprise Linux 8jmc:rhel8/lz4-javaFix deferred
Red Hat Enterprise Linux 9jmcFix deferred
Red Hat Fuse 7lz4-javaOut of support scope
Red Hat Hardened Imagesmaven3.9Fix deferred
Red Hat JBoss Enterprise Application Platform 8liblz4-java.soFix deferred
Red Hat JBoss Enterprise Application Platform 8lz4-javaFix deferred
Red Hat JBoss Enterprise Application Platform Expansion Packliblz4-java.soFix deferred
Red Hat JBoss Enterprise Application Platform Expansion Packlz4-javaFix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-spark-operator-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-th06-cpu-torch210-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-th06-cpu-torch291-py312-rhel9Fix deferred
5 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-106451.

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High
  • CAPEC-149 Explore for Predictable Temporary File Names Severity: Medium
  • CAPEC-155 Screen Temporary Files for Sensitive Information Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON