lz4-java — security advisory
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.
- Products
- lz4-java
- Affected versions
- 1.11.2+ds1-1, 1.11.2+ds1-2, 1.11.2+ds1-3, 1.8.0-3, 1.8.0-4
- Fixed versions
- Not specified
- CVEs
- CVE-2026-106451
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 09:02 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2026-106451
lz4-java
Fixed versions: Not specified
lz4-java
Fixed versions: Not specified
lz4-java
Fixed versions: Not specified
Complete source record
{
"id": "6b6a039a86bff913a941e3f283017021c95668a82b6826a0868f6984fd420ec8",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-106451",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-106451",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2026-106451",
"products": [
{
"name": {
"value": "lz4-java",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.11.2+ds1-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.11.2+ds1-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.11.2+ds1-3",
"evidence": "/affected/0/versions"
},
{
"value": "1.8.0-3",
"evidence": "/affected/0/versions"
},
{
"value": "1.8.0-4",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "lz4-java",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.11.2+ds1-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.11.2+ds1-2",
"evidence": "/affected/1/versions"
},
{
"value": "1.11.2+ds1-3",
"evidence": "/affected/1/versions"
},
{
"value": "1.8.0-4",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "lz4-java",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.11.2+ds1-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.11.2+ds1-2",
"evidence": "/affected/2/versions"
},
{
"value": "1.11.2+ds1-3",
"evidence": "/affected/2/versions"
},
{
"value": "1.8.0-4",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-106451",
"aliases": [
"DEBIAN-CVE-2026-106451"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lz4-java",
"purl": "pkg:deb/debian/lz4-java?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1.11.2+ds1-1",
"1.11.2+ds1-2",
"1.11.2+ds1-3",
"1.8.0-3",
"1.8.0-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-106451.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lz4-java",
"purl": "pkg:deb/debian/lz4-java?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"1.11.2+ds1-1",
"1.11.2+ds1-2",
"1.11.2+ds1-3",
"1.8.0-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-106451.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lz4-java",
"purl": "pkg:deb/debian/lz4-java?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"1.11.2+ds1-1",
"1.11.2+ds1-2",
"1.11.2+ds1-3",
"1.8.0-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-106451.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-08T09:47:28.473796932Z",
"provider": "osv",
"upstream": [
"CVE-2026-106451"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-106451"
]
},
"related_cves": [
{
"value": "CVE-2026-106451",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 98870,
"published_at": "2026-10-06T20:17:27.173+00:00"
}