What’s Vulnerable › Vulnerabilities
CVE-2026-89046: zstd-jni 1.5.5-6 through 1.5.7-13 Out-of-Bounds Read via Negative Offset
- Severity: high (CVSS 8.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-10 · updated 2026-09-10
- Weakness: CWE-125
Description
zstd-jni versions 1.5.5-6 through 1.5.7-13 contain an out-of-bounds read vulnerability in Zstd.getFrameContentSize that fails to validate negative srcPosition arguments. Attackers can supply negative offset values that bypass bounds checks and reach the native frame-header parser, causing out-of-bounds memory reads that lead to information disclosure or JVM crashes.
Affected products
- luben zstd-jni: from 1.5.5-6 before 1.5.7-14 — fixed in 1.5.7-14
How to fix
Upgrade to a fixed version: luben zstd-jni 1.5.7-14. Check the vendor advisory for mitigations.
References
- https://github.com/luben/zstd-jni
- https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/Zstd.java#L730
- https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/native/jni_zstd.c#L87
- https://github.com/luben/zstd-jni/commit/dd08685ef913a32e76fb27f43470035c06758646
- https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14
- https://github.com/luben/zstd-jni/security/advisories/GHSA-rm53-6wf5-f34m
- https://www.vulncheck.com/advisories/zstd-jni-1.5.5-6-through-1.5.7-13-out-of-bounds-read-via-negative-offset
- https://github.com/luben/zstd-jni/security/advisories/GHSA-rm53-6wf5-f34m
Get alerted when CVE-2026-89046 or the next vulnerability affects your stack