CVE-2026-87823

NameCVE-2026-87823
Descriptionzstd-jni before 1.5.7-14 performs 32-bit signed bounds checks on three direct-ByteBuffer frame-size native methods, allowing out-of-bounds memory reads via negative or overflowing offsets. Attackers can supply negative offset values near Integer.MIN_VALUE to read unmapped memory, causing JVM termination or extracting arbitrary frame size data from unintended memory locations.
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-jfr6-9xqw-2g2q
Fixed by: https://github.com/luben/zstd-jni/commit/d7a1c99322d5e1fc71932e722c0b5bb2fc525d3f (v1.5.7-14)

Search for package or bug name: Reporting problems