{"id":"CVE-2026-87795","aliases":["CVE-2026-87795"],"related":[],"kind":"vulnerability","state":"published","title":"zstd-jni 1.2.0 through 1.5.7-13 Out-of-Bounds Read via ZstdDictCompress","summary":"zstd-jni versions before 1.5.7-14 fail to validate offset and length parameters in the ZstdDictCompress constructor, allowing out-of-bounds memory reads. Attackers can supply untrusted offset or length values to read native heap memory into the compression dictionary, typically causing JVM crashes.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"zstd-jni versions before 1.5.7-14 fail to validate offset and length parameters in the ZstdDictCompress constructor, allowing out-of-bounds memory reads. Attackers can supply untrusted offset or length values to read native heap memory into the compression dictionary, typically causing JVM crashes.","source":"cvelist"}],"published":"2026-09-09T10:07:28.656Z","modified":"2026-09-14T13:19:00.180Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.8,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","score":8.2,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"custom","introduced":"1.2.0","fixed":"1.5.7-14","status":"affected"}],"vendor":"luben","product":"zstd-jni","repo":"https://github.com/luben/zstd-jni","source":"cvelist"}],"references":[{"url":"https://github.com/luben/zstd-jni/security/advisories/GHSA-ff36-7w3w-g8rm","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/luben/zstd-jni/commit/0d64de4dee6606ff506be36c7f2e714ad0c80fdb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/ZstdDictCompress.java","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/native/jni_fast_zstd.c","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/luben/zstd-jni/commit/1c4e5a6c3ce8458095225d987d669e6a0937734a","tags":["patch","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/luben/zstd-jni","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/zstd-jni-1.2.0-through-1.5.7-13-out-of-bounds-read-via-zstddictcompress","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Yu Bao, PayPal Cyber Security Team"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-09-14T13:02:05.211Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-87795","url":"https://www.cve.org/CVERecord?id=CVE-2026-87795","licence":"CVE Terms of Use","modified":"2026-09-14T13:02:51.150Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-87795","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87795","licence":"Public domain","modified":"2026-09-14T13:19:00.180Z"}],"updatedAt":"2026-11-25T22:59:37.720Z","epss":{"score":0.00432,"percentile":0.39288,"date":"2026-12-02T12:00:21.000Z"}}