Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-106452— yawkat LZ4 Java: LZ4BlockInputStream allocates an unvalidated compressed length from the stream header

Quick assessment

Affected
yawkat lz4-java
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

yawkat 公司的 LZ4 Java 库为 Java 应用程序提供 LZ4 压缩功能。在版本 1.11.2 之前, 类中的 方法会验证传统 LZ4Block 头部中 字段为非负数,但在读取有效载荷数据之前,该方法会根据攻击者可控制的该值分配一个压缩输入缓冲区。这使得仅包含头部的流可以请求接近 2 GiB 的内存分配,从而导致 JVM 堆内存耗尽。 尽管标准(规范)LZ4 写入器在压缩后的数据不比原始块更小时会直接输出原始块,但存在漏洞的读取器却接受非规范(非标准)的 oversized( oversized 指超

CVSS 5.3 · Medium

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProduct Version RangeStatus
yawkat lz4-java < 1.11.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-106452

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
yawkat LZ4 Java: LZ4BlockInputStream allocates an unvalidated compressed length from the stream header
Source: CVE Program / CVE List V5
Vulnerability Description
yawkat LZ4 Java provides LZ4 compression for Java. Prior to 1.11.2, net.jpountz.lz4.LZ4BlockInputStream refill() validates that the compressedLen field in a legacy LZ4Block header is nonnegative but allocates a compressed-input buffer of that attacker-controlled size before reading payload data, allowing a header-only stream to request a near-2 GiB allocation and exhaust the JVM heap. Canonical writers emit raw blocks when compression is not smaller than the original block, but vulnerable readers accept non-canonical oversized compressed blocks. This issue is fixed in version 1.11.2.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
未经控制的内存分配
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
yawkat lz4-java < 1.11.2 -

II. Public POCs for CVE-2026-106452

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-106452

请登录查看更多情报信息。

Other References for CVE-2026-106452 (3)

Same Patch Batch · yawkat · 2026-10-06 · 5 CVEs total

CVE-2026-106451 7.3 HIGH yawkat LZ4 Java: Native library extraction to a shared temporary directory is vulnerable t
CVE-2026-106450 5.3 MEDIUM yawkat LZ4 Java: LZ4FrameInputStream reallocates block buffers for every frame, allowing C
CVE-2026-106453 5.3 MEDIUM yawkat LZ4 Java: LZ4DecompressorWithLength allocates the unvalidated size from the 4-byte
CVE-2026-106449 3.7 LOW yawkat LZ4 Java: LZ4BlockInputStream with stopOnEmptyBlock=false recurses once per empty b

IV. Related Vulnerabilities

V. Comments for CVE-2026-106452

No comments yet


Leave a comment