lz4-java — security advisory
yawkat LZ4 Java provides LZ4 compression for Java. Prior to 1.11.2, LZ4DecompressorWithLength uses getDecompressedLength to trust the four-byte decompressed-length header before validating the compressed input, allowing a five-byte attacker-supplied input whose header declares a large output size to request up to approximately 2 GiB and exhaust the JVM heap. Convenience overloads backed by LZ4FastDecompressor or LZ4SafeDecompressor allocate the untrusted size, while overloads that write to a caller-provided destination buffer are not affected because the caller controls the destination size. This issue is fixed in version 1.11.2.
- Products
- lz4-java
- Affected versions
- 1.5.1-2, 1.5.1-3build1, 1.8.0-3, 1.8.0-4, 1.8.0-4build1, 1.8.0-4build2
- Fixed versions
- Not specified
- CVEs
- CVE-2026-106453
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:58 UTC · Revision 1
Source evidence
yawkat LZ4 Java provides LZ4 compression for Java. Prior to 1.11.2, LZ4DecompressorWithLength uses getDecompressedLength to trust the four-byte decompressed-length header before validating the compressed input, allowing a five-byte attacker-supplied input whose header declares a large output size to request up to approximately 2 GiB and exhaust the JVM heap. Convenience overloads backed by LZ4FastDecompressor or LZ4SafeDecompressor allocate the untrusted size, while overloads that write to a caller-provided destination buffer are not affected because the caller controls the destination size. This issue is fixed in version 1.11.2.
osv:UBUNTU-CVE-2026-106453
lz4-java
Fixed versions: Not specified
lz4-java
Fixed versions: Not specified
lz4-java
Fixed versions: Not specified
lz4-java
Fixed versions: Not specified
lz4-java
Fixed versions: Not specified
Complete source record
{
"id": "23d0e351dd604cf34df9cece4c39ba707a569ad3f7ae87bef4c1cd2ce9d37ebd",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-106453",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-106453",
"summary": "yawkat LZ4 Java provides LZ4 compression for Java. Prior to 1.11.2, LZ4DecompressorWithLength uses getDecompressedLength to trust the four-byte decompressed-length header before validating the compressed input, allowing a five-byte attacker-supplied input whose header declares a large output size to request up to approximately 2 GiB and exhaust the JVM heap. Convenience overloads backed by LZ4FastDecompressor or LZ4SafeDecompressor allocate the untrusted size, while overloads that write to a caller-provided destination buffer are not affected because the caller controls the destination size. This issue is fixed in version 1.11.2.",
"evidence": "osv:UBUNTU-CVE-2026-106453",
"products": [
{
"name": {
"value": "lz4-java",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5.1-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "lz4-java",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5.1-3build1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "lz4-java",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.8.0-3",
"evidence": "/affected/2/versions"
},
{
"value": "1.8.0-4",
"evidence": "/affected/2/versions"
},
{
"value": "1.8.0-4build1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "lz4-java",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.8.0-4build2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "lz4-java",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.8.0-4build1",
"evidence": "/affected/4/versions"
},
{
"value": "1.8.0-4build2",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-106453",
"aliases": [
"UBUNTU-CVE-2026-106453"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lz4-java",
"purl": "pkg:deb/ubuntu/lz4-java?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.5.1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106453.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblz4-java",
"binary_version": "1.5.1-2"
},
{
"binary_name": "liblz4-jni",
"binary_version": "1.5.1-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lz4-java",
"purl": "pkg:deb/ubuntu/lz4-java?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.5.1-3build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106453.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblz4-java",
"binary_version": "1.5.1-3build1"
},
{
"binary_name": "liblz4-jni",
"binary_version": "1.5.1-3build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lz4-java",
"purl": "pkg:deb/ubuntu/lz4-java?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.8.0-3",
"1.8.0-4",
"1.8.0-4build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106453.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblz4-java",
"binary_version": "1.8.0-4build1"
},
{
"binary_name": "liblz4-jni",
"binary_version": "1.8.0-4build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lz4-java",
"purl": "pkg:deb/ubuntu/lz4-java?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.8.0-4build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106453.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblz4-java",
"binary_version": "1.8.0-4build2"
},
{
"binary_name": "liblz4-jni",
"binary_version": "1.8.0-4build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lz4-java",
"purl": "pkg:deb/ubuntu/lz4-java?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.8.0-4build1",
"1.8.0-4build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106453.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblz4-java",
"binary_version": "1.8.0-4build2"
},
{
"binary_name": "liblz4-jni",
"binary_version": "1.8.0-4build2"
}
]
}
}
],
"modified": "2026-10-17T12:58:00.250349294Z",
"provider": "osv",
"upstream": [
"CVE-2026-106453"
],
"references": [
"https://ubuntu.com/security/CVE-2026-106453",
"https://www.cve.org/CVERecord?id=CVE-2026-106453",
"https://github.com/yawkat/lz4-java/security/advisories/GHSA-6cx8-rjf8-pr8g"
]
},
"related_cves": [
{
"value": "CVE-2026-106453",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 357852,
"published_at": "2026-10-06T20:17:00+00:00"
}