Skip to main content

zstd-jni CVE-2026-87825

| EUVDEUVD-2026-75023 HIGH
Use After Free (CWE-416)
2026-09-09 VulnCheck GHSA-9p7w-x2w6-p34j
7.0
CVSS 4.0 · Vendor: VulnCheck
Share

Severity by source

Vendor (VulnCheck) PRIMARY
7.0 HIGH
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
7.7 HIGH

AV:L because exploitation occurs within the JVM process; AC:L because dictionary close before stream read is deterministically triggerable; no confidentiality impact as freed memory access produces corruption, not disclosure.

3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

4
POC Analysis Generated
Sep 09, 2026 - 23:27 vuln.today
Source Code Evidence Fetched
Sep 09, 2026 - 15:32 vuln.today
Analysis Generated
Sep 09, 2026 - 15:32 vuln.today
CVE Published
Sep 09, 2026 - 14:32 cve.org
HIGH 7.0

DescriptionCVE.org

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.

AnalysisAI

Use-after-free in zstd-jni versions 1.3.8-4 through 1.5.7-13 allows attackers to trigger silent data corruption or JVM crashes by closing a Zstandard dictionary after it has been associated with a stream or context. The library's locking design released the dictionary's shared lock immediately after the load call, leaving the stream holding a native pointer to freed memory; subsequent read or write operations on that stream then access freed native heap, producing undefined behavior at the JVM/native boundary. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
technique details hidden
Delivery
technique details hidden
Exploit
technique details hidden
Execution
technique details hidden
Impact
technique details hidden

Vulnerability AssessmentAI

Exploitation Exploitation requires three simultaneous conditions: (1) the application must use zstd-jni's dictionary API - specifically ZstdDictDecompress or ZstdDictCompress loaded into a ZstdInputStreamNoFinalizer or ZstdOutputStreamNoFinalizer; (2) dictionary close must race with or occur after dictionary association but before stream operations complete, which in single-threaded applications requires an explicit programming error and in multi-threaded applications can arise from unsynchronized dictionary lifecycle management; (3) the application must run zstd-jni 1.3.8-4 through 1.5.7-13. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 4.0 base score of 7.0 with AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H accurately reflects a local-vector vulnerability with high integrity and availability impact but no confidentiality exposure. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario Full exploit scenario with step-by-step reproduction available after sign-in.
Remediation Upgrade zstd-jni to v1.5.7-14 or later, released at https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14. … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours, scan all Java application dependencies and build artifacts to identify systems running zstd-jni versions 1.3.8-4 through 1.5.7-13, and flag those for prioritized remediation. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-87825 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy