Bug 2550353 - CVE-2026-106451 nqp: lz4-java: Arbitrary code execution via insecure temporary file handling [fedora-all]
Summary: CVE-2026-106451 nqp: lz4-java: Arbitrary code execution via insecure temporar...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: nqp
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Felix Wang
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["f9804652-d5ad-4387-9d67-c...
Depends On:
Blocks: CVE-2026-106451
TreeView+ depends on / blocked
 
Reported: 2026-10-13 10:57 UTC by Ronit Dey
Modified: 2026-10-13 10:57 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ronit Dey 2026-10-13 10:57:16 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.


Note You need to log in before you can comment on or make changes to this bug.