Loop with Unreachable Exit Condition ('Infinite Loop') Affecting zstd-jni-java package, versions *


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.12% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-ZSTDJNIJAVA-19683775
  • published11 Sept 2026
  • disclosed10 Sept 2026

Introduced: 10 Sep 2026

NewCVE-2026-89045  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest zstd-jni-java.

NVD Description

Note: Versions mentioned in the description apply only to the upstream zstd-jni-java package and not the zstd-jni-java package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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 Base Scores

version 3.1