CVE-2026-89045
published medium CVSS 4.0 · 5.1zstd-jni 1.4.8-4 through 1.5.7-13 Denial of Service via Negative Length
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| luben | — | zstd-jni1.4.8-4 to < 1.5.7-14 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.0 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| luben | zstd-jni | 1.4.8-4 to < 1.5.7-14 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
References
6- luben/zstd-jni https://github.com/luben/zstd-jni
- Guard that never checks a negative length at v1.5.7-13 https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/ZstdInputStreamNoFinalizer.java#L133
- Fix commit: reject a negative length in read and readInternal https://github.com/luben/zstd-jni/commit/dd08685ef913a32e76fb27f43470035c06758646
- zstd-jni v1.5.7-14 Release Notes https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14
- GitHub Security Advisory (GHSA-9jx2-gfp9-phfm) https://github.com/luben/zstd-jni/security/advisories/GHSA-9jx2-gfp9-phfm
- VulnCheck Advisory: zstd-jni 1.4.8-4 through 1.5.7-13 Denial of Service via Negative Length https://www.vulncheck.com/advisories/zstd-jni-1.4.8-4-through-1.5.7-13-denial-of-service-via-negative-length
Provider assertions
2VulnCheck · cna
zstd-jni 1.4.8-4 through 1.5.7-13 Denial of Service via Negative Length
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 16955a46bb7ff3ef6424c15a08d348778c965d7024b4668045afa49e723df653
- Ingested
- 23 Sep 2026, 09:38:17 UTC
- Source record
- Official CVE record