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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-87825— zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free of Compression and Decompression Dictionaries

Quick assessment

Affected
luben zstd-jni
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.

zstd-jni 1.5.7-14 之前的版本中存在一个释放后使用(use-after-free)漏洞。该漏洞表现为:流(streams)和上下文(contexts)仅在调用“load”期间持有字典(dictionary)的共享锁,导致字典在仍被引用时可能被提前关闭。攻击者可以在将字典与某个流或上下文关联后将其关闭,使得后续的读取或写入操作访问已被释放的原生内存,从而导致静默的数据损坏或 JVM 崩溃。

CVSS 7.7 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-87825

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
zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free of Compression and Decompression Dictionaries
Source: CVE Program / CVE List V5
Vulnerability Description
zstd-jni before 1.5.7-14 contains a use-after-free vulnerability where streams and contexts hold a dictionary's shared lock only during the load call, allowing the dictionary to be closed while still referenced. Attackers can close a dictionary after associating it with a stream or context, causing subsequent read or write operations to access freed native memory, resulting in silent data corruption or JVM crashes.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
释放后使用
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
luben zstd-jni 1.3.8-4 ~ 1.5.7-14 -

II. Public POCs for CVE-2026-87825

# 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-87825

登录查看更多情报信息。

Patches & Fixes for CVE-2026-87825 (5)

Vendor Advisories for CVE-2026-87825 (2)

Proof of Concept for CVE-2026-87825 (1)

Vendor Pages for CVE-2026-87825 (1)

Same Patch Batch · luben · 2026-09-09 · 5 CVEs total

CVE-2026-87795 8.2 HIGH zstd-jni 1.2.0 through 1.5.7-13 Out-of-Bounds Read via ZstdDictCompress
CVE-2026-87823 8.2 HIGH zstd-jni 1.1.1 through 1.5.7-13 Out-of-Bounds Read via Direct ByteBuffer Frame-Size Method
CVE-2026-87877 7.7 HIGH zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free via Setters Called After close()
CVE-2026-87824 7.5 HIGH zstd-jni 1.3.3-1 through 1.5.7-13 Out-of-Bounds Read via Zstd.trainFromBufferDirect

IV. Related Vulnerabilities

V. Comments for CVE-2026-87825

No comments yet


Leave a comment