{"id":"CVE-2026-87825","title":"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","summary":"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 dic…","severity":"high","cvss":7.7,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","cwe":["CWE-416","CWE-825"],"vendor":"luben","product":"zstd-jni","affected":["zstd-jni >= 1.3.8-4 < 1.5.7-14"],"published":"2026-09-09","updated":"2026-09-14","sourceUpdated":"2026-09-14T14:17:17.937","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-87825","references":[{"url":"https://github.com/luben/zstd-jni","label":"disclosure@vulncheck.com"},{"url":"https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/BaseZstdBufferDecompressingStreamNoFinalizer.java","label":"disclosure@vulncheck.com"},{"url":"https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/ZstdInputStreamNoFinalizer.java","label":"disclosure@vulncheck.com"},{"url":"https://github.com/luben/zstd-jni/commit/0827ed02551bbd8d6f8e4bbff99d83bf50f91938","label":"disclosure@vulncheck.com"},{"url":"https://github.com/luben/zstd-jni/commit/393d7311766abbc285b149302c0fe1f94b16d555","label":"disclosure@vulncheck.com"},{"url":"https://github.com/luben/zstd-jni/commit/a560131d7834598afd9cea6b7c107bc88e915936","label":"disclosure@vulncheck.com"},{"url":"https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14","label":"disclosure@vulncheck.com"},{"url":"https://github.com/luben/zstd-jni/security/advisories/GHSA-947w-pxjj-c7m9","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/zstd-jni-1.3.8-4-through-1.5.7-13-use-after-free-of-compression-and-decompression-dictionaries","label":"disclosure@vulncheck.com"},{"url":"https://github.com/luben/zstd-jni/security/advisories/GHSA-947w-pxjj-c7m9","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-87825.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-87825"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2531007"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-87825"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87825"}],"tags":["nvd","cve.org","exploit-available","csaf","vex","red-hat"],"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-14T13:34:20.357216Z"},"epss":0.00133,"epssPercentile":0.03188,"ingestedAt":"2026-09-14T15:23:07.419Z","slug":"CVE-2026-87825","body":"## Overview\n\nzstd-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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Important · affected: Exploit Intelligence, OpenShift Developer Tools and Services, Red Hat build of Apache Camel 4 for Quarkus 3, Red Hat build of Apache Camel for Spring Boot 4, Red Hat build of Apicurio Registry 3, Red Hat build of Debezium 3, … · no fix planned: Exploit Intelligence, OpenShift Developer Tools and Services, Red Hat build of Apache Camel 4 for Quarkus 3, Red Hat build of Apache Camel for Spring Boot 4, … · updated 2026-09-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-87825.json)","depth":"midnight","depthScore":54,"depthScoreParts":{"impact":42.4,"likelihood":0,"exploitation":12,"ransomware":0},"changes":[{"seq":200090,"id":"CVE-2026-87825","ts":1789395646854,"field":"exploit_available","old":"false","new":"true"}]}