CVE-2026-89045

NameCVE-2026-89045
Descriptionzstd-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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1147397

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
zstd-jni-java (PTS)bookworm1.5.2-5+ds-3vulnerable
trixie1.5.2-5+ds-7vulnerable
forky, sid1.5.2-5+ds-8vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
zstd-jni-javasource(unstable)(unfixed)1147397

Notes

[trixie] - zstd-jni-java <no-dsa> (Minor issue)
[bookworm] - zstd-jni-java <postponed> (Minor issue)
https://github.com/luben/zstd-jni/security/advisories/GHSA-9jx2-gfp9-phfm
Fixed by: https://github.com/luben/zstd-jni/commit/dd08685ef913a32e76fb27f43470035c06758646 (v1.5.7-14)

Search for package or bug name: Reporting problems