{"id":"CVE-2026-87825","published":"2026-09-09T14:32:44Z","modified":"2026-09-14T13:35:21Z","title":"zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free of Compression and Decompression Dictionaries","vendor":"luben","product":"zstd-jni","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00197,"percentile":0.05366,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/luben/zstd-jni/security/advisories/GHSA-947w-pxjj-c7m9","tags":["vendor-advisory"]},{"url":"https://github.com/luben/zstd-jni/commit/393d7311766abbc285b149302c0fe1f94b16d555","tags":["patch"]},{"url":"https://github.com/luben/zstd-jni/commit/a560131d7834598afd9cea6b7c107bc88e915936","tags":["patch"]},{"url":"https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/ZstdInputStreamNoFinalizer.java","tags":["technical-description"]},{"url":"https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/BaseZstdBufferDecompressingStreamNoFinalizer.java","tags":["technical-description"]},{"url":"https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14","tags":["release-notes"]},{"url":"https://github.com/luben/zstd-jni/commit/0827ed02551bbd8d6f8e4bbff99d83bf50f91938","tags":["technical-description","patch"]},{"url":"https://github.com/luben/zstd-jni","tags":["product"]},{"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","tags":["third-party-advisory"]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":1.07},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"luben","affectedVersions":[{"vendor":"luben","product":"zstd-jni","versions":[">= 1.3.8-4, < 1.5.7-14"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-14T13:34:20.357216Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-75023","exploited":false,"provenance":"source"}}