CVE-2026-89045
zstd-jni 1.4.8-4 through 1.5.7-13 Denial of Service via Negative Length
CVSS 4.0 5.1 MEDIUMCVSS 3.1 4.0 MEDIUMCheck source for fixed versionsKEV status unknown
cve-program · CVE-2026-89045
Publishedzstd-jni versions 1.4.8-4 through 1.5.7-13 fail to validate negative length parameters in ZstdInputStreamNoFinalizer.read(), allowing attackers to trigger infinite loops. Attackers can pass negative length values to cause the read method to spin indefinitely while holding the stream monitor, blocking all other threads from accessing the stream.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-89045 · CVE overview and exploitation status
cve-program · CVE-2026-89045
- https://github.com/luben/zstd-jni/security/advisories/GHSA-9jx2-gfp9-phfm
- https://github.com/luben/zstd-jni/commit/dd08685ef913a32e76fb27f43470035c06758646
- https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/ZstdInputStreamNoFinalizer.java#L133
- https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14
- https://github.com/luben/zstd-jni
- https://www.vulncheck.com/advisories/zstd-jni-1.4.8-4-through-1.5.7-13-denial-of-service-via-negative-length
Related changes
Linked by CVE identifierNo related changes are available here.