CVE-2026-106452
MEDIUM 5.3CVSS 3.1yawkat LZ4 Java: LZ4BlockInputStream allocates an unvalidated compressed length from the stream header
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.
- Published
- 6 Oct 2026
- Last modified
- 7 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-789
- Also known as
- GHSA-4v53-57pg-c464
- Sources
- NVDJSONOSV GHSA-4v53-57pg-c464JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | at.yawk.lz4:lz4-java | < 1.11.2 | 1.11.2 |
| OSV | Maven | org.lz4:lz4-java | <= 1.8.1 |
References
- https://github.com/yawkat/lz4-java/commit/bb83dd16163cdb71231af06b0a5651881148a634 · WEB
- https://github.com/yawkat/lz4-java/releases/tag/v1.11.2 · WEB
- https://github.com/yawkat/lz4-java/security/advisories/GHSA-4v53-57pg-c464 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-106452 · ADVISORY
- https://github.com/yawkat/lz4-java · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 6 Oct 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Oct 2026)