CVE-2026-89046
HIGH
NVD
CVSS Score
8.2
Severity
HIGH
Published
Sep 10, 2026
Vendor
unknown
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.
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