CVE-2026-87795

NameCVE-2026-87795
Descriptionzstd-jni versions before 1.5.7-14 fail to validate offset and length parameters in the ZstdDictCompress constructor, allowing out-of-bounds memory reads. Attackers can supply untrusted offset or length values to read native heap memory into the compression dictionary, typically causing JVM crashes.
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)

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)

Notes

https://github.com/luben/zstd-jni/security/advisories/GHSA-ff36-7w3w-g8rm
Fixed by: https://github.com/luben/zstd-jni/commit/0d64de4dee6606ff506be36c7f2e714ad0c80fdb (v1.5.7-14)

Search for package or bug name: Reporting problems