High severity · published Sep 9, 2026
CVE-2026-87824
zstd-jni 1.3.3-1 through 1.5.7-13 Out-of-Bounds Read via Zstd.trainFromBufferDirect
7.5
CVSS
0.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 33% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ZS
zstd-jni · luben
1.3.3-1 before 1.5.7-14 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-87824
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-87824
github.com
https://github.com/luben/zstd-jni
github.com
https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/Zstd.java
github.com
https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/native/jni_zdict.c
github.com
https://github.com/luben/zstd-jni/commit/53d3c6342883f7d6717b2477a7f9c1b4a4a56980
github.com
https://github.com/luben/zstd-jni/commit/bba6cfca2c0897f1fa004f4193247479f10da853
github.com
https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14
More from zstd-jni
8.2
CVE-2026-90560
zstd-jni 1.2.0 through 1.5.7-13 Out-of-Bounds Read via ZstdDictDecompress
8.2
CVE-2026-89046
zstd-jni 1.5.5-6 through 1.5.7-13 Out-of-Bounds Read via Negative Offset
8.2
CVE-2026-87823
zstd-jni 1.1.1 through 1.5.7-13 Out-of-Bounds Read via Direct ByteBuffer Frame-Size Methods
8.2
CVE-2026-87795
zstd-jni 1.2.0 through 1.5.7-13 Out-of-Bounds Read via ZstdDictCompress
7.7
CVE-2026-87877
zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free via Setters Called After close()
