# CVE-2026-89045: zstd-jni 1.4.8-4 through 1.5.7-13 Denial of Service via Negative Length

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-10T17:39:34.866Z
- Modified: 2026-09-15T15:17:26.880Z
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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

(As written by CVE List.)

## Affected

- luben zstd-jni: from 1.4.8-4 before 1.5.7-14

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/luben/zstd-jni/security/advisories/GHSA-9jx2-gfp9-phfm> (exploit, vendor-advisory)
- <https://github.com/luben/zstd-jni/commit/dd08685ef913a32e76fb27f43470035c06758646> (patch)
- <https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/ZstdInputStreamNoFinalizer.java#L133> (technical-description)
- <https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14> (release-notes)
- <https://github.com/luben/zstd-jni> (product)
- <https://www.vulncheck.com/advisories/zstd-jni-1.4.8-4-through-1.5.7-13-denial-of-service-via-negative-length> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-89045](https://www.cve.org/CVERecord?id=CVE-2026-89045), CVE Terms of Use, modified 2026-09-15
- NVD: [CVE-2026-89045](https://nvd.nist.gov/vuln/detail/CVE-2026-89045), Public domain, modified 2026-09-15

---

Page: https://cve.day/CVE-2026-89045 · Whole record: https://cve.day/CVE-2026-89045.json · Rebuilt by cve.day 2026-11-25T22:59:37.889Z
