Vulnerability · Published Oct 6, 2026 · Assigned by GitHub_M
CVE-2026-106452yawkat LZ4 Java: LZ4BlockInputStream allocates an unvalidated compressed length from the stream header
Medium 5.3
In plain English
A medium-severity security flaw in lz4-java from yawkat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
yawkat LZ4 Java provides LZ4 compression for Java. Prior to 1.11.2, net.jpountz.lz4.LZ4BlockInputStream refill() validates that the compressedLen field in a legacy LZ4Block header is nonnegative but allocates a compressed-input buffer of that attacker-controlled size before reading payload data, allowing a header-only stream to request a near-2 GiB allocation and exhaust the JVM heap. Canonical writers emit raw blocks when compression is not smaller than the original block, but vulnerable readers accept non-canonical oversized compressed blocks. This issue is fixed in version 1.11.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | lz4-java | no fix listed | DEBIAN-CVE-2026-106452 |
| Debian:13 | lz4-java | no fix listed | DEBIAN-CVE-2026-106452 |
| Debian:14 | lz4-java | 1.11.2+ds1-1 | DEBIAN-CVE-2026-106452 |
| Maven | at.yawk.lz4:lz4-java | 1.11.2 | GHSA-4v53-57pg-c464 |
| Maven | org.lz4:lz4-java | no fix listed | GHSA-4v53-57pg-c464 |
| Ubuntu:22.04:LTS | lz4-java | no fix listed | UBUNTU-CVE-2026-106452 |
| Ubuntu:24.04:LTS | lz4-java | no fix listed | UBUNTU-CVE-2026-106452 |
| Ubuntu:26.04:LTS | lz4-java | no fix listed | UBUNTU-CVE-2026-106452 |
| Ubuntu:26.10 | lz4-java | no fix listed | UBUNTU-CVE-2026-106452 |
Affected products (as reported)
Weakness: CWE-789 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://github.com/yawkat/lz4-java/security/advisories/GHSA-4v53-57pg-c464 x_refsource_CONFIRM
- https://github.com/yawkat/lz4-java/commit/bb83dd16163cdb71231af06b0a5651881148a634 x_refsource_MISC
- https://github.com/yawkat/lz4-java/releases/tag/v1.11.2 x_refsource_MISC