Vulnerability

CVE-2026-87795

highCVSS 4.0 8.8Published 9 Sep 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /luben/zstd-jni
  • github.com /luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/lub…
  • github.com /luben/zstd-jni/blob/v1.5.7-13/src/main/native/jni_fast_zst…
  • github.com /luben/zstd-jni/commit/0d64de4dee6606ff506be36c7f2e714ad0c8…
  • github.com /luben/zstd-jni/commit/1c4e5a6c3ce8458095225d987d669e6a0937…
  • github.com /luben/zstd-jni/releases/tag/v1.5.7-14
  • github.com /luben/zstd-jni/security/advisories/GHSA-ff36-7w3w-g8rm
  • www.vulncheck.com /advisories/zstd-jni-1.2.0-through-1.5.7-13-out-of-bounds-r…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning