CVE-2026-106451
HIGH 7.3CVSS 4.0yawkat LZ4 Java: Native library extraction to a shared temporary directory is vulnerable to file replacement by another local user
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.
- Published
- 6 Oct 2026
- Last modified
- 7 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-367CWE-377
- Also known as
- GHSA-mcr4-qmvw-px4g
- Sources
- NVDJSONOSV GHSA-mcr4-qmvw-px4gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | at.yawk.lz4:lz4-java | < 1.11.4 | 1.11.4 |
| OSV | Maven | org.lz4:lz4-java | >= 1.7.0, <= 1.8.1 |
References
- https://github.com/yawkat/lz4-java/commit/7a48b7f6b8099b9dab6541e4ac2ee0979dc55aa3 · WEB
- https://github.com/yawkat/lz4-java/releases/tag/v1.11.4 · WEB
- https://github.com/yawkat/lz4-java/security/advisories/GHSA-mcr4-qmvw-px4g · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-106451 · ADVISORY
- https://github.com/yawkat/lz4-java · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 6 Oct 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Oct 2026)