Description
zstd-jni before 1.5.7-14 performs 32-bit signed bounds checks on three direct-ByteBuffer frame-size native methods, allowing out-of-bounds memory reads via negative or overflowing offsets. Attackers can supply negative offset values near Integer.MIN_VALUE to read unmapped memory, causing JVM termination or extracting arbitrary frame size data from unintended memory locations.
Published: 2026-09-09
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability stems from zstd-jni versions 1.1.1 through 1.5.7-13. Direct-ByteBuffer frame-size native methods perform signed 32‑bit bounds checks on offsets, allowing an attacker to provide negative or overflowing values. Negative offsets near Integer.MIN_VALUE trigger reads of unmapped or unintended memory. This can terminate the Java Virtual Machine or let an attacker extract arbitrary frame size data from memory regions not intended for the buffer.

Affected Systems

The affected product is the zstd-jni library distributed by Luben. All releases from version 1.1.1 up to and including 1.5.7-13 are impacted. This library is often used in Java applications that rely on Zstandard compression.

Risk and Exploitability

The CVSS base score is 8.8, indicating a high severity. The EPSS score is not available, so the current data do not quantify exploitation probability. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires the ability to influence the buffer offset used by the native library, which is typically achievable in contexts where the attacker controls input data to the compression/decompression routines. An attacker could trigger abrupt JVM termination or read sensitive memory, potentially leading to denial‑of‑service or information disclosure.

Generated by OpenCVE AI on September 9, 2026 at 16:02 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade zstd‑jni to version 1.5.7‑14 or later, which includes bounds‑check fixes for the problematic methods.
  • If an upgrade is not immediately possible, restrict input validation on buffer offsets by performing defensive bounds checks in Java before passing data to the native library.
  • Monitor Java applications for abnormal JVM termination or unauthorized memory reads, and apply security patches to the JVM and underlying OS as part of routine patch management.

Generated by OpenCVE AI on September 9, 2026 at 16:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 09 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 09 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
Description zstd-jni before 1.5.7-14 performs 32-bit signed bounds checks on three direct-ByteBuffer frame-size native methods, allowing out-of-bounds memory reads via negative or overflowing offsets. Attackers can supply negative offset values near Integer.MIN_VALUE to read unmapped memory, causing JVM termination or extracting arbitrary frame size data from unintended memory locations.
Title zstd-jni 1.1.1 through 1.5.7-13 Out-of-Bounds Read via Direct ByteBuffer Frame-Size Methods
Weaknesses CWE-190
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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-09T16:13:14.420Z

Reserved: 2026-09-09T10:32:34.110Z

Link: CVE-2026-87823

cve-icon Vulnrichment

Updated: 2026-09-09T16:12:47.049Z

cve-icon NVD

Status : Received

Published: 2026-09-09T15:17:27.583

Modified: 2026-09-09T17:17:52.700

Link: CVE-2026-87823

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-09T16:15:01Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound