Vulnerability · Published Sep 9, 2026 · Assigned by VulnCheck

CVE-2026-87824zstd-jni 1.3.3-1 through 1.5.7-13 Out-of-Bounds Read via Zstd.trainFromBufferDirect

High 7.5

In plain English

A high-severity out-of-bounds read in zstd-jni from luben. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 66.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12zstd-jni-javano fix listedDEBIAN-CVE-2026-87824
Debian:13zstd-jni-javano fix listedDEBIAN-CVE-2026-87824
Debian:14zstd-jni-java1.5.7-23+ds-1DEBIAN-CVE-2026-87824
Ubuntu:24.04:LTSzstd-jni-javano fix listedUBUNTU-CVE-2026-87824
Ubuntu:26.04:LTSzstd-jni-javano fix listedUBUNTU-CVE-2026-87824
Ubuntu:26.10zstd-jni-javano fix listedUBUNTU-CVE-2026-87824

Affected products (as reported)

VendorProductVersions
luben zstd-jni 1.3.3-1 – before 1.5.7-14

Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References