Uncontrolled Memory Allocation in lz4-java - #VU167202

 

Uncontrolled Memory Allocation in lz4-java - #VU167202

Published: November 18, 2026


Vulnerability identifier: #VU167202
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-789
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service through heap exhaustion or increased garbage collection load.

The vulnerability exists due to excessive memory allocation in lz4-java's LZ4BlockInputStream and LZ4FrameInputStream when processing block headers before receiving block data. A remote attacker can send small headers across many concurrent streams and withhold block data to retain approximately 64 MiB or 8 MiB per stream respectively, or repeatedly open short streams to increase garbage collection load.


Affected software

lz4-java

Remediation

Install security update from vendor's website.

lz4-java - update to 1.12.1

External References

Related Security Bulletins