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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-87877— zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free via Setters Called After close()

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 之前的版本未能对 stream 类的 、 、 和 方法进行关闭状态校验。攻击者可以在已关闭的流上调用这些方法,从而通过已释放的原生指针进行写入,导致无关对象损坏或导致 JVM 崩溃。

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

I. Basic Information for CVE-2026-87877

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 via Setters Called After close()
Source: CVE Program / CVE List V5
Vulnerability Description
zstd-jni versions before 1.5.7-14 fail to validate closed state in setDict, setLongMax, setLevel and setRefMultipleDDicts methods of stream classes. Attackers can call these methods on closed streams to write through freed native pointers, corrupting unrelated objects or crashing the JVM.
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-87877

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

登录查看更多情报信息。

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

Vendor Advisories for CVE-2026-87877 (2)

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

Vendor Pages for CVE-2026-87877 (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-87825 7.7 HIGH zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free of Compression and Decompression Dictiona
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-87877

No comments yet


Leave a comment