Vulnerability · Published Sep 9, 2026 · Assigned by VulnCheck

CVE-2026-87825zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free of Compression and Decompression Dictionaries

High 7.7

In plain English

A high-severity use-after-free in zstd-jni from luben. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.7High
Exploit odds (30 days)0.2%top 88.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12zstd-jni-javano fix listedDEBIAN-CVE-2026-87825
Debian:13zstd-jni-javano fix listedDEBIAN-CVE-2026-87825
Debian:14zstd-jni-java1.5.7-23+ds-1DEBIAN-CVE-2026-87825
Ubuntu:24.04:LTSzstd-jni-javano fix listedUBUNTU-CVE-2026-87825
Ubuntu:26.04:LTSzstd-jni-javano fix listedUBUNTU-CVE-2026-87825
Ubuntu:26.10zstd-jni-javano fix listedUBUNTU-CVE-2026-87825

Affected products (as reported)

VendorProductVersions
luben zstd-jni 1.3.8-4 – before 1.5.7-14

Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

References