Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. at.yawk.lz4/lz4-java
  4. ›
  5. CVE-2026-106451

CVE-2026-106451: yawkat LZ4 Java: Native library extraction to a shared temporary directory is vulnerable to file replacement by another local user

October 7, 2026

When no system-installed liblz4-java is found, net.jpountz.util.Native.load() extracts the bundled native library to java.io.tmpdir and loads it with System.load. The path of the extracted library can be predicted before it is created, and the library file is opened without exclusive creation. Another local user who can write to the same temporary directory can therefore create the file first and control the code that is loaded.

References

  • github.com/advisories/GHSA-mcr4-qmvw-px4g
  • github.com/yawkat/lz4-java/commit/7a48b7f6b8099b9dab6541e4ac2ee0979dc55aa3
  • github.com/yawkat/lz4-java/releases/tag/v1.11.4
  • github.com/yawkat/lz4-java/security/advisories/GHSA-mcr4-qmvw-px4g
  • nvd.nist.gov/vuln/detail/CVE-2026-106451

Code Behaviors & Features

Detect and mitigate CVE-2026-106451 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.11.4

Fixed versions

  • 1.11.4

Solution

Upgrade to version 1.11.4 or above.

Impact 7 HIGH

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
  • CWE-377: Insecure Temporary File

Source file

maven/at.yawk.lz4/lz4-java/CVE-2026-106451.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:42 +0000.