Uncontrolled Memory Allocation in lz4-java - #VU167202
Published: November 18, 2026
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.