CVE-2026-106451
published high CVSS 4.0 · 7.3yawkat LZ4 Java: Native library extraction to a shared temporary directory is vulnerable to file replacement by another local user
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| yawkat | — | lz4-java< 1.11.4 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| yawkat | lz4-java | < 1.11.4 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-367 CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
- CWE-377 CWE-377: Insecure Temporary File
References
3Provider assertions
2GitHub_M · cna
yawkat LZ4 Java: Native library extraction to a shared temporary directory is vulnerable to file replacement by another local user
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c0783910203319d5eaf49733a99cdb91411a1afb7dd396a6f885cf40de0655b7
- Ingested
- 07 Oct 2026, 22:38:38 UTC
- Source record
- Official CVE record