{"id":"CVE-2026-106452","summary":"yawkat LZ4 Java: LZ4BlockInputStream allocates an unvalidated compressed length from the stream header","details":"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.","aliases":["GHSA-4v53-57pg-c464"],"modified":"2026-10-07T10:45:42.058089676Z","published":"2026-10-06T19:52:37.818Z","database_specific":{"cwe_ids":["CWE-789"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106452.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106452.json"},{"type":"FIX","url":"https://github.com/yawkat/lz4-java/commit/bb83dd16163cdb71231af06b0a5651881148a634"},{"type":"WEB","url":"https://github.com/yawkat/lz4-java/releases/tag/v1.11.2"},{"type":"ADVISORY","url":"https://github.com/yawkat/lz4-java/security/advisories/GHSA-4v53-57pg-c464"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-106452"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/yawkat/lz4-java","events":[{"introduced":"0"},{"fixed":"0569f2e80433ac67f89616364a8f584ec3b20c45"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.11.2"}],"source":"AFFECTED_FIELD"}}],"versions":["v1.11.1","v1.11.0","v1.10.4","v1.10.3","v1.10.2","v1.10.1","v1.10.0","v1.9.0","1.8.0","1.7.0","1.6.0","1.5.0","1.4.0","1.3.0","1.2.0","1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-106452.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}