Out-of-bounds Read in Luben Zstd-Jni

CVE-2026-87795

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.

Vulnerability class: Buffer Overflow

CVSS v3 metric

CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-87795?
CVE-2026-87795 is a high-severity vulnerability in Luben Zstd-Jni, classified under Out-of-bounds Read. CVSS score: 8.2/10. Published 2026-09-09.
How severe is CVE-2026-87795?
High severity. CVSS v3 base score is 8.2 out of 10.