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.
Published: 2026-09-09
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Out-of-Bounds Read leading to memory disclosure and JVM crashes
Action: Apply Patch
AI Analysis

Impact

The vulnerability lies in the zstd-jni library’s ZstdDictCompress constructor, which does not validate the offset and length parameters supplied when creating a compression dictionary. An attacker providing untrusted offset or length values can cause the native library to read beyond the allocated memory, exposing native heap data and frequently resulting in Java Virtual Machine crashes. The weakness is categorized as CWE-125, an Out-of-Bounds Read.

Affected Systems

This flaw affects the zstd-jni Java bindings, specifically all releases from 1.2.0 up to and including 1.5.7-13. Versions 1.5.7-14 and newer contain the required validation and are considered safe.

Risk and Exploitability

The CVSS score of 8.8 marks this issue as a high severity vulnerability. Exploitability details are limited; the EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The most likely attack vector requires an attacker to supply controlled input to the ZstdDictCompress constructor, which generally implies local or application-level exploitation. While it does not provide immediate remote code execution, the ability to read arbitrary native memory and trigger JVM crashes can lead to denial of service and potential leakage of sensitive data stored on the heap.

Generated by OpenCVE AI on September 9, 2026 at 11:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the zstd-jni library to version 1.5.7-14 or later, which implements proper offset and length validation.
  • Modify application code to reject or bound‑check any externally supplied offset and length values before passing them to ZstdDictCompress.
  • If a rapid patch is not available, temporarily disable or refactor the application code to avoid instantiating ZstdDictCompress until the vulnerability is fixed.

Generated by OpenCVE AI on September 9, 2026 at 11:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 14 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 10 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Luben
Luben zstd-jni
Vendors & Products Luben
Luben zstd-jni

Thu, 10 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Wed, 09 Sep 2026 10:15:00 +0000

Type Values Removed Values Added
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.
Title zstd-jni 1.2.0 through 1.5.7-13 Out-of-Bounds Read via ZstdDictCompress
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H'}

cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-14T13:02:51.150Z

Reserved: 2026-09-09T09:37:58.558Z

Link: CVE-2026-87795

cve-icon Vulnrichment

Updated: 2026-09-14T13:02:28.136Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-09T10:22:34.557

Modified: 2026-09-14T13:19:00.180

Link: CVE-2026-87795

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-09T10:07:28Z

Links: CVE-2026-87795 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-10T20:10:34Z

Weaknesses