# CVE-2026-87823: zstd-jni 1.1.1 through 1.5.7-13 Out-of-Bounds Read via Direct ByteBuffer Frame-Size Methods

- Severity: High 8.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-09T14:32:43.442Z
- Modified: 2026-09-09T20:16:54.383Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- luben zstd-jni: from 1.1.1 before 1.5.7-14

## Every score

- VulnCheck: CVSS:4.0 8.8 High `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`
- VulnCheck: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`

## References

- <https://github.com/luben/zstd-jni/security/advisories/GHSA-jfr6-9xqw-2g2q> (exploit, vendor-advisory)
- <https://github.com/luben/zstd-jni/commit/d7a1c99322d5e1fc71932e722c0b5bb2fc525d3f> (patch)
- <https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/native/jni_zstd.c> (technical-description)
- <https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/Zstd.java> (technical-description)
- <https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14> (release-notes)
- <https://github.com/luben/zstd-jni/commit/46dcb2a54c8b8f2ce2cad7187a7513f509c533ac> (patch, technical-description)
- <https://github.com/luben/zstd-jni> (product)
- <https://www.vulncheck.com/advisories/zstd-jni-1.1.1-through-1.5.7-13-out-of-bounds-read-via-direct-bytebuffer-frame-size-methods> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-87823](https://www.cve.org/CVERecord?id=CVE-2026-87823), CVE Terms of Use, modified 2026-09-09
- NVD: [CVE-2026-87823](https://nvd.nist.gov/vuln/detail/CVE-2026-87823), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-87823 · Whole record: https://cve.day/CVE-2026-87823.json · Rebuilt by cve.day 2026-11-25T22:59:37.760Z
