CVE-2026-89045
zstd-jni 1.4.8-4 through 1.5.7-13 Denial of Service via Negative Length
- State
- Published
- Severity
- 5.1 Medium
- Published
- Sep 10, 2026
- Updated
- Sep 15, 2026
- Reserved
- Sep 10, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 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 |
| 3.1 | 4.0 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | VulnCheck |
Weaknesses
- CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
Affected Products
| Product | Versions |
|---|---|
zstd-jniluben |
|
References
- GitHub Security Advisory (GHSA-9jx2-gfp9-phfm)vendor-advisory
- Fix commit: reject a negative length in read and readInternalpatch
- Guard that never checks a negative length at v1.5.7-13technical-description
- zstd-jni v1.5.7-14 Release Notesrelease-notes
- luben/zstd-jniproduct
- VulnCheck Advisory: zstd-jni 1.4.8-4 through 1.5.7-13 Denial of Service via Negative Lengththird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.