Out-of-bounds Read in Luben Zstd-Jni
CVE-2026-87795
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H.
EPSS exploit prediction
EPSS: 0.006 (49.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 50th percentile — 49.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
Weakness classification (CWE)
References
- github.com/luben/zstd-jni (product)
- github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/Zs… (technical-description)
- github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/native/jni_fast_zstd.c (technical-description)
- github.com/luben/zstd-jni/commit/0d64de4dee6606ff506be36c7f2e714ad0c80fdb (patch)
- github.com/luben/zstd-jni/commit/1c4e5a6c3ce8458095225d987d669e6a0937734a (technical-description, patch)
- github.com/luben/zstd-jni/releases/tag/v1.5.7-14 (release-notes)
- github.com/luben/zstd-jni/security/advisories/GHSA-ff36-7w3w-g8rm (vendor-advisory)
- www.vulncheck.com/advisories/zstd-jni-1.2.0-through-1.5.7-13-out-of-bounds-read… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-87795?
- CVE-2026-87795 is a high-severity vulnerability in Luben Zstd-Jni, classified under Out-of-bounds Read. CVSS score: 8.2/10. Published 2026-09-09.
- How severe is CVE-2026-87795?
- High severity. CVSS v3 base score is 8.2 out of 10.