Description
zstd-jni versions 1.5.5-6 through 1.5.7-13 contain an out-of-bounds read vulnerability in Zstd.getFrameContentSize that fails to validate negative srcPosition arguments. Attackers can supply negative offset values that bypass bounds checks and reach the native frame-header parser, causing out-of-bounds memory reads that lead to information disclosure or JVM crashes.
Published: 2026-09-10
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: Information disclosure or JVM crash via out‑of‑bounds read
Action: Immediate Patch
AI Analysis

Impact

The vulnerability allows an attacker to pass a negative offset to Zstd.getFrameContentSize. The native frame‑header parser does not validate the srcPosition argument, so negative values bypass bounds checks and cause an out‑of‑bounds read of memory that can expose sensitive data or crash the Java Virtual Machine. This weakness is a classic out‑of‑bounds read flaw and can impact confidentiality and availability of applications that use the affected library. The description does not state an exploitation vector, but the likely attack path would involve supplying a crafted negative offset through any Java code that calls the vulnerable method. Based on the description, it is inferred that the attack vector requires execution of code within the application context.

Affected Systems

The affected product is zstd‑jni by the luben project. Versions 1.5.5‑6 through 1.5.7‑13 contain the flaw. Users of these releases are vulnerable. The release tagged 1.5.7‑14 represents the first version that removes the defect and should be considered a safe target for update.

Risk and Exploitability

The CVSS score of 8.8 reflects a high severity due to potential data disclosure and denial of service. EPSS information is not available, so no current estimate of exploitation likelihood can be provided. The vulnerability is not listed in CISA KEV, indicating that no known exploits have been reported in the CISA catalog. Attackers would need to invoke the vulnerable method with a negative offset, which is easy to achieve if input is not validated. Because the flaw resides in a widely used compression library, the risk can affect many Java applications. Given the high CVSS and the explicit mention of memory reads that leak data, the threat remains significant until the library is updated to a non‑vulnerable version.

Generated by OpenCVE AI on September 10, 2026 at 18:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade zstd‑jni to version 1.5.7‑14 or later
  • Implement input validation on srcPosition to ensure it is non‑negative before calling Zstd.getFrameContentSize
  • Wrap the native call in a custom method that checks bounds and logs any anomalous usage

Generated by OpenCVE AI on September 10, 2026 at 18:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 10 Sep 2026 19: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 17:45:00 +0000

Type Values Removed Values Added
Description zstd-jni versions 1.5.5-6 through 1.5.7-13 contain an out-of-bounds read vulnerability in Zstd.getFrameContentSize that fails to validate negative srcPosition arguments. Attackers can supply negative offset values that bypass bounds checks and reach the native frame-header parser, causing out-of-bounds memory reads that lead to information disclosure or JVM crashes.
Title zstd-jni 1.5.5-6 through 1.5.7-13 Out-of-Bounds Read via Negative Offset
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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-10T18:10:40.912Z

Reserved: 2026-09-10T16:45:23.295Z

Link: CVE-2026-89046

cve-icon Vulnrichment

Updated: 2026-09-10T18:10:30.509Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-10T18:18:16.560

Modified: 2026-09-10T19:54:25.810

Link: CVE-2026-89046

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-10T19:00:11Z

Weaknesses