# CVE-2026-106452: yawkat LZ4 Java: LZ4BlockInputStream allocates an unvalidated compressed length from the stream header

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-10-06T19:52:37.818Z
- Modified: 2026-10-07T16:30:04.845Z
- Also known as: GHSA-4v53-57pg-c464
- Weaknesses: CWE-789
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- yawkat lz4-java: < 1.11.2
- at.yawk.lz4:lz4-java (Maven): before 1.11.2
- org.lz4:lz4-java (Maven): up to 1.8.1

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `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> (web)
- <https://github.com/yawkat/lz4-java/commit/bb83dd16163cdb71231af06b0a5651881148a634> (web)
- <https://github.com/yawkat/lz4-java/releases/tag/v1.11.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-106452> (advisory)
- <https://github.com/yawkat/lz4-java> (package)

## Sources

- CVE List: [CVE-2026-106452](https://www.cve.org/CVERecord?id=CVE-2026-106452), CVE Terms of Use, modified 2026-10-07
- GitHub Advisory Database: [GHSA-4v53-57pg-c464](https://github.com/advisories/GHSA-4v53-57pg-c464), CC-BY-4.0, modified 2026-10-07
- NVD: [CVE-2026-106452](https://nvd.nist.gov/vuln/detail/CVE-2026-106452), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2026-106452 · Whole record: https://cve.day/CVE-2026-106452.json · Rebuilt by cve.day 2026-11-25T22:59:42.516Z
