Red Hat VEX
RHVEX-CVE-2026-106451
org.lz4/lz4-java: lz4-java: Arbitrary code execution via insecure temporary file handling
Details
A flaw was found in lz4-java. When extracting native libraries, the application writes temporary files to a shared directory using predictable file paths without exclusive file creation controls. A local attacker with access to the shared directory could exploit this race condition to replace the native library before it is loaded, potentially leading to arbitrary code execution with the privileges of the running application.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | lz4-java-javadoc | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | jmc | All versions, no fix (fix deferred) |
References
- https://access.redhat.com/security/cve/CVE-2026-106451
- https://bugzilla.redhat.com/show_bug.cgi?id=2547137
- https://www.cve.org/CVERecord?id=CVE-2026-106451
- https://nvd.nist.gov/vuln/detail/CVE-2026-106451
- https://github.com/yawkat/lz4-java/commit/7a48b7f6b8099b9dab6541e4ac2ee0979dc55aa3
- https://github.com/yawkat/lz4-java/releases/tag/v1.11.4
- https://github.com/yawkat/lz4-java/security/advisories/GHSA-mcr4-qmvw-px4g