Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-87877: Use After Free in luben zstd-jni

0
High
VulnerabilityCVE-2026-87877cvecve-2026-87877
Published: 09/09/2026 (09/09/2026, 14:32:45 UTC)
Source: CVE Database V5
Vendor/Project: luben
Product: zstd-jni

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.

CVSS v4.0

Score 7.0high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

luben/zstd-jni
pkg:maven/luben/zstd-jni
Affected versions
>=1.3.8-4 <1.5.7-14

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: 09/09/2026, 15:07:06 UTC

Technical Analysis

The vulnerability in zstd-jni versions prior to 1.5.7-14 involves failure to check the closed state in the setDict, setLongMax, setLevel, and setRefMultipleDDicts methods of stream classes. Attackers can exploit this by calling these methods on streams that have already been closed, resulting in use-after-free conditions. This leads to memory corruption through writes to freed native pointers, which can corrupt unrelated objects or crash the JVM process. The vulnerability is local attack vector with low complexity and no required privileges or user interaction, but it has high impact on confidentiality and availability due to potential JVM crashes or memory corruption.

Potential Impact

Successful exploitation can cause memory corruption and JVM crashes, impacting the availability and integrity of applications using the vulnerable zstd-jni versions. There is no indication of remote exploitation or privilege escalation. The vulnerability is exploitable locally and can cause denial of service or unpredictable behavior in affected applications.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid using vulnerable versions or restrict access to environments where zstd-jni is used to trusted users only. Monitor vendor channels for updates and apply patches promptly once available.

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
VulnCheck
Date Reserved
2026-09-09T14:02:07.708Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6aa172cbacd9273b49784b7e

Added to database: 09/09/2026, 14:52:59 UTC

Last enriched: 09/09/2026, 15:07:06 UTC

Last updated: 09/09/2026, 16:07:56 UTC

Views: 4

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