Skip to main content

CVE-2026-106452: CWE-789: Memory Allocation with Excessive Size Value in yawkat lz4-java

0
Medium
VulnerabilityCVE-2026-106452cvecve-2026-106452cwe-789
Published: 10/06/2026 (10/06/2026, 19:52:37 UTC)
Source: CVE Database V5
Vendor/Project: yawkat
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected software

yawkat

lz4-java

Affected versions
<1.11.2
net.jpountz/lz4-java
pkg:maven/net.jpountz/lz4-java
Affected versions
<1.11.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/06/2026, 20:18:50 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses