CVE-2026-87825: Use After Free in luben zstd-jni
zstd-jni versions before 1.5.7-14 contain a use-after-free vulnerability where dictionary locks are not held during stream or context operations, allowing the dictionary to be closed while still referenced. This can lead to accessing freed native memory, causing silent data corruption or JVM crashes.
AI Analysis
Technical Summary
The zstd-jni library prior to version 1.5.7-14 has a use-after-free vulnerability due to improper locking of dictionary resources. Streams and contexts only hold a dictionary's shared lock during the load call, permitting the dictionary to be closed while still referenced by these objects. Subsequent read or write operations on the stream or context may access freed native memory, resulting in silent data corruption or JVM crashes. This vulnerability has a CVSS 4.0 base score of 7.0, indicating high severity, with local attack vector and no privileges or user interaction required.
Potential Impact
Exploitation of this vulnerability can cause silent data corruption or crashes of the Java Virtual Machine (JVM) due to use-after-free memory access. This impacts application stability and data integrity when using affected versions of zstd-jni.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid closing dictionaries while they are still associated with streams or contexts to prevent use-after-free conditions.
CVE-2026-87825: Use After Free in luben zstd-jni
Description
zstd-jni versions before 1.5.7-14 contain a use-after-free vulnerability where dictionary locks are not held during stream or context operations, allowing the dictionary to be closed while still referenced. This can lead to accessing freed native memory, causing silent data corruption or JVM crashes.
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 zstd-jni library prior to version 1.5.7-14 has a use-after-free vulnerability due to improper locking of dictionary resources. Streams and contexts only hold a dictionary's shared lock during the load call, permitting the dictionary to be closed while still referenced by these objects. Subsequent read or write operations on the stream or context may access freed native memory, resulting in silent data corruption or JVM crashes. This vulnerability has a CVSS 4.0 base score of 7.0, indicating high severity, with local attack vector and no privileges or user interaction required.
Potential Impact
Exploitation of this vulnerability can cause silent data corruption or crashes of the Java Virtual Machine (JVM) due to use-after-free memory access. This impacts application stability and data integrity when using affected versions of zstd-jni.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid closing dictionaries while they are still associated with streams or contexts to prevent use-after-free conditions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-09T10:32:34.110Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6aa172cbacd9273b49784b7c
Added to database: 09/09/2026, 14:52:59 UTC
Last enriched: 09/09/2026, 15:07:11 UTC
Last updated: 09/09/2026, 15:07:59 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.