CVE-2026-87877: Use After Free in luben zstd-jni
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.
AI Analysis
Technical Summary
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.
CVE-2026-87877: Use After Free in luben 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
Affected software
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.