Integer overflow in Luben Zstd-Jni
CVE-2026-87823
zstd-jni before 1.5.7-14 performs 32-bit signed bounds checks on three direct-ByteBuffer frame-size native methods, allowing out-of-bounds memory reads via negative or overflowing offsets. Attackers can supply negative offset values near Integer.MIN_VALUE to read unmapped memory, causing JVM termination or extracting arbitrary frame size data from unintended memory locations.
Vulnerability class: Integer 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.004 (36.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 37th percentile — 36.5% 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.004 · change: -0.002
Affected products
Weakness classification (CWE)
References
- github.com/luben/zstd-jni/security/advisories/GHSA-jfr6-9xqw-2g2q (vendor-advisory)
- github.com/luben/zstd-jni/commit/d7a1c99322d5e1fc71932e722c0b5bb2fc525d3f (patch)
- github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/native/jni_zstd.c (technical-description)
- 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/releases/tag/v1.5.7-14 (release-notes)
- github.com/luben/zstd-jni/commit/46dcb2a54c8b8f2ce2cad7187a7513f509c533ac (technical-description, patch)
- github.com/luben/zstd-jni (product)
- www.vulncheck.com/advisories/zstd-jni-1.1.1-through-1.5.7-13-out-of-bounds-read… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-87823?
- CVE-2026-87823 is a high-severity vulnerability in Luben Zstd-Jni, classified under Integer Overflow or Wraparound. CVSS score: 8.2/10. Published 2026-09-09.
- How severe is CVE-2026-87823?
- High severity. CVSS v3 base score is 8.2 out of 10.