{"id":"CVE-2026-87824","aliases":["CVE-2026-87824"],"related":[],"kind":"vulnerability","state":"published","title":"zstd-jni 1.3.3-1 through 1.5.7-13 Out-of-Bounds Read via Zstd.trainFromBufferDirect","summary":"zstd-jni before 1.5.7-14 fails to validate the samples buffer capacity in Zstd.trainFromBufferDirect, allowing attackers to read past buffer boundaries by supplying oversized per-sample lengths. Attackers can trigger out-of-bounds memory access by providing crafted sample length arrays that cause the native implementation to walk past the buffer allocation, resulting in JVM termination.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"zstd-jni before 1.5.7-14 fails to validate the samples buffer capacity in Zstd.trainFromBufferDirect, allowing attackers to read past buffer boundaries by supplying oversized per-sample lengths. Attackers can trigger out-of-bounds memory access by providing crafted sample length arrays that cause the native implementation to walk past the buffer allocation, resulting in JVM termination.","source":"cvelist"}],"published":"2026-09-09T14:32:44.099Z","modified":"2026-09-20T01:16:31.623Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"custom","introduced":"1.3.3-1","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-257p-3h6w-pg7h","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/luben/zstd-jni/commit/bba6cfca2c0897f1fa004f4193247479f10da853","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/native/jni_zdict.c","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/Zstd.java","tags":["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/commit/53d3c6342883f7d6717b2477a7f9c1b4a4a56980","tags":["patch","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/luben/zstd-jni","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/zstd-jni-1.3.3-1-through-1.5.7-13-out-of-bounds-read-via-zstd-trainfrombufferdirect","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Yu Bao, PayPal Cyber Security Team"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-20T00:08:06.268Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-87824","url":"https://www.cve.org/CVERecord?id=CVE-2026-87824","licence":"CVE Terms of Use","modified":"2026-09-20T00:35:32.204Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-87824","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87824","licence":"Public domain","modified":"2026-09-20T01:16:31.623Z"}],"updatedAt":"2026-11-25T22:59:37.760Z","epss":{"score":0.00389,"percentile":0.35113,"date":"2026-12-01T12:00:22.000Z"}}