# CVE-2026-106453: yawkat 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

- 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.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-10-06T19:54:04.124Z
- Modified: 2026-10-07T17:16:48.007Z
- Also known as: GHSA-6cx8-rjf8-pr8g
- 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, 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.

(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-6cx8-rjf8-pr8g> (web)
- <https://github.com/yawkat/lz4-java/commit/6492ce5aca6bd03ff9e08ee18a2beb94c431371a> (web)
- <https://github.com/yawkat/lz4-java/releases/tag/v1.11.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-106453> (advisory)
- <https://github.com/yawkat/lz4-java> (package)

## Sources

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

---

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