CVE-2026-89046
highzstd-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…
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/luben/zstd-jni disclosure@vulncheck.com
- https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/Zstd.... disclosure@vulncheck.com
- https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/native/jni_zstd.c#L87 disclosure@vulncheck.com
- https://github.com/luben/zstd-jni/commit/dd08685ef913a32e76fb27f43470035c06758646 disclosure@vulncheck.com
- https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14 disclosure@vulncheck.com
- https://github.com/luben/zstd-jni/security/advisories/GHSA-rm53-6wf5-f34m disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/zstd-jni-1.5.5-6-through-1.5.7-13-out-of-bounds-read-... disclosure@vulncheck.com
- https://github.com/luben/zstd-jni/security/advisories/GHSA-rm53-6wf5-f34m 134c704f-9b21-4f2e-91b3-4a467353bcc0
