CVE-2026-87795
Received Received - Intake

zstd-jni Memory Read Vulnerability via Invalid Offset Handling

Vulnerability report for CVE-2026-87795, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-09

Last updated on: 2026-09-09

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-09
Last Modified
2026-09-09
Generated
2026-09-09
AI Q&A
2026-09-09
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
luben zstd-jni to 1.5.7-14 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-87795 is an out-of-bounds memory read vulnerability in zstd-jni versions before 1.5.7-14. The issue occurs in the ZstdDictCompress constructor, which fails to properly validate offset and length parameters. Attackers can supply manipulated values to read native heap memory into the compression dictionary, typically causing JVM crashes or leaking sensitive data.

Detection Guidance

To detect this vulnerability, check the version of zstd-jni in your system. If you are using versions before 1.5.7-14, the system is vulnerable. Run: mvn dependency:tree | grep zstd-jni for Maven projects or gradle dependencies | grep zstd-jni for Gradle projects to verify the installed version.

Impact Analysis

This vulnerability can lead to denial-of-service attacks by crashing the JVM when attackers supply malicious offset or length values. It may also allow information disclosure if sensitive heap memory is leaked into the compression dictionary. Systems using vulnerable zstd-jni versions are at risk if they process untrusted input.

Compliance Impact

This vulnerability could violate compliance requirements under GDPR and HIPAA by enabling unauthorized data access or disclosure. GDPR mandates protection against data breaches, while HIPAA requires safeguards for sensitive health information. Exploitation may lead to regulatory penalties due to compromised data integrity or confidentiality.

Mitigation Strategies

Upgrade zstd-jni to version 1.5.7-14 or later immediately. This version includes proper bounds checking to prevent out-of-bounds memory reads. Remove or replace any vulnerable versions in your dependencies.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-87795. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart