{"id":"CVE-2026-106452","published":"2026-10-06T19:52:37Z","modified":"2026-10-07T10:45:18Z","title":"yawkat LZ4 Java: LZ4BlockInputStream allocates an unvalidated compressed length from the stream header","vendor":"yawkat","product":"lz4-java","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.36404,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://github.com/yawkat/lz4-java/security/advisories/GHSA-4v53-57pg-c464","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/yawkat/lz4-java/commit/bb83dd16163cdb71231af06b0a5651881148a634","tags":["x_refsource_MISC"]},{"url":"https://github.com/yawkat/lz4-java/releases/tag/v1.11.2","tags":["x_refsource_MISC"]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":7.28},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"yawkat","affectedVersions":[{"vendor":"yawkat","product":"lz4-java","versions":["< 1.11.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-07T10:45:08.750360Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"at.yawk.lz4:lz4-java","vulnerableRanges":["<1.11.2"],"patched":["1.11.2"],"from":["GHSA-4v53-57pg-c464"],"provenance":"source"},{"ecosystem":"Maven","package":"org.lz4:lz4-java","vulnerableRanges":["<=1.8.1"],"patched":[],"from":["GHSA-4v53-57pg-c464"],"provenance":"source"}],"summary":{"text":"The yawkat LZ4 Java library (lz4-java) has a flaw in net.jpountz.lz4.LZ4BlockInputStream, where refill() allocates a compressed-input buffer sized by an unvalidated compressedLen value from the legacy LZ4Block stream header before any payload is read. An attacker who can supply a crafted input stream to a reader of this class can trigger a near-2 GiB allocation from the header alone and exhaust the JVM heap, with no authentication, user interaction, or special configuration required beyond the vulnerable reader accepting that input.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:34Z"},"euvd":{"id":"EUVD-2026-93871","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-yawkat-lz4-java-cve-2026-106449","children":[{"from":"CVE-2026-106452","to":"CVE-2026-106449","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:at.yawk.lz4:lz4-java","fromFixed":"1.11.2","toFixed":"1.11.4","daysApart":0},{"kind":"same-code","provenance":"machine","files":["src/java/net/jpountz/lz4/LZ4BlockInputStream.java"],"commits":["https://github.com/yawkat/lz4-java/commit/c8ebf97d504fb34434fda46fc761e8202570e0d8","https://github.com/yawkat/lz4-java/commit/bb83dd16163cdb71231af06b0a5651881148a634"],"basis":"shared function","functions":["refill"]}]}],"packageHistory":[{"cve":"CVE-2025-12183","published":"2025-11-28","fixed":"1.8.1","kev":false},{"cve":"CVE-2025-66566","published":"2025-12-05","fixed":"1.10.1","kev":false},{"cve":"CVE-2026-59949","published":"2026-08-18","fixed":"1.11.1","kev":false,"link":{"from":"CVE-2026-59949","to":"CVE-2026-106452","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:at.yawk.lz4:lz4-java","fromFixed":"1.11.1","toFixed":"1.11.2","daysApart":49}]}},{"cve":"CVE-2026-106452","published":"2026-10-06","fixed":"1.11.2","kev":false},{"cve":"CVE-2026-106453","published":"2026-10-06","fixed":"1.11.2","kev":false},{"cve":"CVE-2026-106449","published":"2026-10-06","fixed":"1.11.4","kev":false},{"cve":"CVE-2026-106450","published":"2026-10-06","fixed":"1.11.4","kev":false,"link":{"from":"CVE-2026-106452","to":"CVE-2026-106450","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:at.yawk.lz4:lz4-java","fromFixed":"1.11.2","toFixed":"1.11.4","daysApart":0}]}},{"cve":"CVE-2026-106451","published":"2026-10-06","fixed":"1.11.4","kev":false,"link":{"from":"CVE-2026-106452","to":"CVE-2026-106451","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:at.yawk.lz4:lz4-java","fromFixed":"1.11.2","toFixed":"1.11.4","daysApart":0}]}}],"package":"Maven:at.yawk.lz4:lz4-java"}}