{"id":"CVE-2026-87877","published":"2026-09-09T14:32:45Z","modified":"2026-09-09T15:57:53Z","title":"zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free via Setters Called After close()","vendor":"luben","product":"zstd-jni","tier":"tail","description":{"text":"zstd-jni versions before 1.5.7-14 fail to validate closed state in setDict, setLongMax, setLevel and setRefMultipleDDicts methods of stream classes. Attackers can call these methods on closed streams to write through freed native pointers, corrupting unrelated objects or crashing the JVM.","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.00202,"percentile":0.05802,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/luben/zstd-jni/security/advisories/GHSA-2jw3-mg7f-vw4q","tags":["vendor-advisory"]},{"url":"https://github.com/luben/zstd-jni/commit/f38f9a1563113d96d0fc38baee543f7457dd8a8e","tags":["patch"]},{"url":"https://github.com/luben/zstd-jni/commit/393d7311766abbc285b149302c0fe1f94b16d555","tags":["patch"]},{"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/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/ZstdInputStreamNoFinalizer.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-via-setters-called-after-close","tags":["third-party-advisory"]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":1.16},{"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":"total","timestamp":"2026-09-09T15:57:38.917828Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-75024","exploited":false,"provenance":"source"}}