CVE-2026-89045
Received Received - Intake

zstd-jni Negative Length Parameter Infinite Loop Vulnerability

Vulnerability report for CVE-2026-89045, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-10

Last updated on: 2026-09-10

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-10
Last Modified
2026-09-10
Generated
2026-09-10
AI Q&A
2026-09-10
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
luben zstd-jni From 1.4.8-4 (inc) to 1.5.7-13 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-835 The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects zstd-jni versions 1.4.8-4 through 1.5.7-13. It involves a flaw in the ZstdInputStreamNoFinalizer.read() method where negative length parameters are not validated. This causes an infinite loop while holding the stream monitor, blocking all other threads from accessing the stream and leading to a denial-of-service condition.

Detection Guidance

To detect this vulnerability, check if your system uses zstd-jni versions 1.4.8-4 through 1.5.7-13. Inspect Java applications using commands like 'find / -name "zstd-jni*.jar" 2>/dev/null' or 'mvn dependency:tree' in project directories. Monitor for thread exhaustion or infinite loops in applications handling zstd decompression.

Impact Analysis

This vulnerability can cause a denial-of-service by freezing threads indefinitely when negative length values are passed to the read method. This blocks access to the stream for other threads, potentially disrupting applications relying on zstd-jni for compression or decompression tasks.

Mitigation Strategies

Upgrade zstd-jni to version 1.5.7-14 or later immediately. If upgrading is not possible, restrict access to applications using zstd-jni or disable zstd decompression features until patched. Monitor system logs for unusual thread behavior or blocked streams.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-89045. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart