{"id":"CVE-2026-89045","state":"PUBLISHED","title":"zstd-jni 1.4.8-4 through 1.5.7-13 Denial of Service via Negative Length","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.","publishedAt":"2026-09-10T17:39:34.866Z","updatedAt":"2026-09-15T14:54:48.479Z","severity":{"score":5.1,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["luben zstd-jni"],"affected":[{"vendor":"luben","product":"zstd-jni","packageURL":"pkg:maven/com.github.luben/zstd-jni","defaultStatus":"unaffected","versions":[{"version":"1.4.8-4","status":"affected","lessThan":"1.5.7-14","versionType":"custom"}],"collectionURL":"https://repo1.maven.org/maven2/com/github/luben/zstd-jni/","repo":"https://github.com/luben/zstd-jni"}],"references":["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"],"weaknesses":["CWE-835"],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/89xxx/CVE-2026-89045.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-89045","state":"PUBLISHED","datePublished":"2026-09-10T17:39:34.866Z","dateUpdated":"2026-09-15T14:54:48.479Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-09-10T16:45:18.503Z"},"containers":{"cna":{"title":"zstd-jni 1.4.8-4 through 1.5.7-13 Denial of Service via Negative Length","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"luben","product":"zstd-jni","packageURL":"pkg:maven/com.github.luben/zstd-jni","defaultStatus":"unaffected","versions":[{"version":"1.4.8-4","status":"affected","lessThan":"1.5.7-14","versionType":"custom"}],"collectionURL":"https://repo1.maven.org/maven2/com/github/luben/zstd-jni/","repo":"https://github.com/luben/zstd-jni"}],"references":[{"url":"https://github.com/luben/zstd-jni/security/advisories/GHSA-9jx2-gfp9-phfm","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-9jx2-gfp9-phfm)"},{"url":"https://github.com/luben/zstd-jni/commit/dd08685ef913a32e76fb27f43470035c06758646","tags":["patch"],"name":"Fix commit: reject a negative length in read and readInternal"},{"url":"https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/ZstdInputStreamNoFinalizer.java#L133","tags":["technical-description"],"name":"Guard that never checks a negative length at v1.5.7-13"},{"url":"https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14","tags":["release-notes"],"name":"zstd-jni v1.5.7-14 Release Notes"},{"url":"https://github.com/luben/zstd-jni","tags":["product"],"name":"luben/zstd-jni"},{"url":"https://www.vulncheck.com/advisories/zstd-jni-1.4.8-4-through-1.5.7-13-denial-of-service-via-negative-length","name":"VulnCheck Advisory: zstd-jni 1.4.8-4 through 1.5.7-13 Denial of Service via Negative Length","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.1,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW","baseScore":4,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-835","lang":"en","description":"Loop with Unreachable Exit Condition ('Infinite Loop')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-09-10T17:39:34.866Z"},"datePublic":"2026-08-14T00:00:00.000Z","credits":[{"lang":"en","value":"Yu Bao, PayPal Cyber Security Team","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/luben/zstd-jni/security/advisories/GHSA-9jx2-gfp9-phfm","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-15T14:54:22.478650Z","id":"CVE-2026-89045","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-15T14:54:48.479Z"}}]}}}