What’s Vulnerable › Vulnerabilities

CVE-2026-87795: zstd-jni 1.2.0 through 1.5.7-13 Out-of-Bounds Read via ZstdDictCompress

Description

zstd-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.

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-87795 or the next vulnerability affects your stack