What’s Vulnerable › Vulnerabilities

CVE-2026-89045: 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.

Affected products

How to fix

Upgrade to a fixed version: luben zstd-jni 1.5.7-14. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-89045 or the next vulnerability affects your stack