CVE-2026-87823
zstd-jni 1.1.1 through 1.5.7-13 Out-of-Bounds Read via Direct ByteBuffer Frame-Size Methods
- State
- Published
- Severity
- 8.8 High
- Published
- Sep 9, 2026
- Updated
- Sep 9, 2026
- Reserved
- Sep 9, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 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 |
| 3.1 | 8.2 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H | VulnCheck |
Weaknesses
- CWE-190 Integer Overflow or Wraparound
Affected Products
| Product | Versions |
|---|---|
zstd-jniluben |
|
References
- GitHub Security Advisory (GHSA-jfr6-9xqw-2g2q)vendor-advisory
- Fix commit: reject negative offset and size in the three direct-ByteBuffer nativespatch
- Unchecked 32-bit bounds tests at v1.5.7-13technical-description
- Native declarations with no Java-side validation at v1.5.7-13technical-description
- zstd-jni v1.5.7-14 Release Notesrelease-notes
- Commit that introduced the unchecked direct-ByteBuffer size natives (first released in 1.1.1)technical-descriptionpatch
- https://github.com/luben/zstd-jniproduct
- VulnCheck Advisory: zstd-jni 1.1.1 through 1.5.7-13 Out-of-Bounds Read via Direct ByteBuffer Frame-Size Methodsthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.