CVE-2026-106453
MEDIUM 5.3CVSS 3.1yawkat LZ4 Java: LZ4DecompressorWithLength allocates the unvalidated size from the 4-byte length header, so a 5-byte input triggers a 1 GiB allocation and OutOfMemoryError
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.
- 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-6cx8-rjf8-pr8g
- Sources
- NVDJSONOSV GHSA-6cx8-rjf8-pr8gJSON
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/6492ce5aca6bd03ff9e08ee18a2beb94c431371a · WEB
- https://github.com/yawkat/lz4-java/releases/tag/v1.11.2 · WEB
- https://github.com/yawkat/lz4-java/security/advisories/GHSA-6cx8-rjf8-pr8g · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-106453 · 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)