Use After Free in Luben Zstd-Jni

CVE-2026-87825

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.

Vulnerability class: Use-After-Free

CVSS v3 metric

CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-87825?
CVE-2026-87825 is a high-severity vulnerability in Luben Zstd-Jni, classified under Use After Free. CVSS score: 7.7/10. Published 2026-09-09.
How severe is CVE-2026-87825?
High severity. CVSS v3 base score is 7.7 out of 10.