Uncontrolled Memory Allocation in lz4-java - #VU141232

 

Uncontrolled Memory Allocation in lz4-java - #VU141232

Published: August 7, 2026


Vulnerability identifier: #VU141232
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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.

The vulnerability exists due to memory allocation with excessive size value in LZ4DecompressorWithLength.decompress(byte[], int) and similar with-length convenience decompression overloads when processing attacker-supplied LZ4 data with a forged 4-byte length header. A remote attacker can send a specially crafted 5-byte input to cause a denial of service.

The issue is specific to convenience overloads that derive the destination length from the input header rather than using a caller-supplied buffer.


Affected software

lz4-java

Remediation

Install security update from vendor's website.

lz4-java - update to 1.11.2

External References

Related Security Bulletins