CVE-2026-106452: CWE-789: Memory Allocation with Excessive Size Value in yawkat lz4-java
Description
A vulnerability in yawkat lz4-java prior to version 1.11.2 allows an attacker to cause excessive memory allocation by providing a crafted LZ4 block header. This can lead to near-2 GiB heap exhaustion in the JVM, resulting in denial of service. The issue arises because the compressedLen field is validated only for non-negativity but not for size limits before allocating memory. This flaw is fixed in version 1.11.2.
CVSS v3.1
Score 5.3medium
Affected software
yawkat
lz4-java
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The yawkat lz4-java library versions before 1.11.2 contain a memory allocation vulnerability (CWE-789) in the LZ4BlockInputStream refill() method. The method validates that the compressedLen field in a legacy LZ4Block header is nonnegative but allocates a buffer of that size before reading the payload. An attacker can craft a header-only stream with a compressedLen near 2 GiB, causing the JVM heap to be exhausted due to excessive memory allocation. The vulnerability is due to accepting non-canonical oversized compressed blocks, whereas canonical writers emit raw blocks when compression is not smaller than the original block. This issue is resolved in version 1.11.2.
Potential Impact
Successful exploitation can cause denial of service by exhausting the JVM heap memory through excessive allocation. There is no impact on confidentiality or integrity reported. The CVSS score is 5.3 (medium severity), reflecting the availability impact without requiring privileges or user interaction.
Mitigation Recommendations
Upgrade to yawkat lz4-java version 1.11.2 or later, where this issue is fixed. No other mitigations are specified or necessary once the fixed version is applied.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-10-06T16:49:40.591Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ac5544a2cdf04f656d9e130
Added to database: 10/06/2026, 20:04:26 UTC
Last enriched: 10/06/2026, 20:18:50 UTC
Last updated: 10/06/2026, 20:19:15 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.