CVE Catalog

CVE-2026-106452

MediumCVSS 5.3
Published: Translated: NVD NIST

Summary

In yawkat LZ4 Java prior to 1.11.2, LZ4BlockInputStream.refill() validates the compressedLen field as nonnegative but allocates a buffer of that attacker-controlled size before reading payload data. A header-only stream can request a near-2 GiB allocation and exhaust the JVM heap.

Risk Assessment

An attacker can remotely cause memory exhaustion and crash the Java application.

Recommendation

Update yawkat LZ4 Java to version 1.11.2 or later.

Other vulnerabilities in yawkat LZ4 Java

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS