Skip to main content

zstd-jni EUVDEUVD-2026-76905

| CVE-2026-90560 HIGH
Out-of-bounds Read (CWE-125)
2026-09-12 VulnCheck GHSA-392q-wrgq-6wmj
8.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted input with malicious offset/length values
  2. Delivery
    Application constructs ZstdDictDecompress with attacker-controlled parameters
  3. Exploit
    Library skips bounds validation in JNI constructor
  4. Execution
    Native code reads past Java array boundary
  5. Impact
    JVM process aborts with fatal native error

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation specifically requires use of the offset/length constructor variant ZstdDictDecompress(byte[] dict, int offset, int length) - applications using only the simpler ZstdDictDecompress(byte[] dict) constructor are not affected by this code path. The attacker must be able to influence either the offset or the length integer argument passed to this constructor, which in practice means the application must accept dictionary parameters from external or untrusted input. The CVSS AV:N/PR:N assessment assumes the most permissive deployment, where a network-accessible service exposes this functionality without authentication; deployments where dictionary content and metadata are sourced exclusively from static trusted configuration are at substantially lower practical risk despite the same library version. JVM vendor, operating system, and hardware platform are not limiting factors once the vulnerable constructor is invoked.

Impact

The CVSS 4.0 score of 8.8 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H) reflects a worst-case deployment where a network-facing application exposes the ZstdDictDecompress offset/length constructor to untrusted input - a realistic pattern in streaming data pipelines and message brokers. Availability impact is rated High because an out-of-bounds read through JNI into native memory produces a fatal JVM abort rather than a catchable Java exception, taking down the entire process. Confidentiality impact is rated Low, as partial native heap contents may be observable before the crash. No EPSS score was provided in the input, so exploitation probability cannot be quantified precisely; absent KEV listing and public PoC, opportunistic mass exploitation is unlikely at present, though the fix commit makes the triggering condition trivially reproducible from the public diff. Even a mid-sized municipal IT team in kielce running Kafka or Hadoop workloads that accept external compression dictionaries should treat this as urgent given the low attack complexity and the confirmed patch availability in v1.5.7-14. The confidentiality risk is secondary to the availability concern: the primary realistic outcome of exploitation is process death, not data exfiltration.

Exploit ScenarioDerived

An attacker submitting a malformed Kafka message or HTTP request to a data ingestion endpoint passes a negative offset value when the service constructs a ZstdDictDecompress object using a caller-influenced offset parameter. The JNI layer forwards the unchecked negative offset into native Zstandard memory access, which reads past the Java heap array boundary, causing a native memory violation that aborts the JVM. No confirmed public exploit code exists at time of analysis, but the fix diff in commit b74ab242 makes the exact triggering condition immediately apparent to any analyst reviewing the public repository.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 12, 2026

Out-of-bounds read in zstd-jni versions 1.2.0 through 1.5.7-13 exposes JVM-based applications to service termination and partial memory disclosure when attacker-controlled offset or length values are passed to the ZstdDictDecompress constructor without bounds validation. The missing guard allows values that exceed the backing byte array, causing the JNI layer to read past the array boundary into native memory, which can abort the JVM process. A vendor-released patch is confirmed in v1.5.7-14; no public exploit code or CISA KEV listing has been identified at time of analysis.

RemediationAI

Upgrade zstd-jni to version 1.5.7-14 or later; this release contains patch commit b74ab242d640c40897e62aab4c744ddfad1f915f, confirmed via the GitHub release tag at https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14. For Maven/Gradle projects, update the com.github.luben:zstd-jni dependency version accordingly and rebuild. If immediate library upgrade is blocked by dependency constraints, an effective application-layer workaround is to validate that offset >= 0, length >= 0, and offset + length <= dict.length before constructing any ZstdDictDecompress instance - this replicates the library fix at the call site with no functional side effects. Applications that exclusively use the single-argument ZstdDictDecompress(byte[] dict) constructor and do not pass explicit offset/length values are not exposed to this specific code path and carry lower urgency for patching.

Affected VersionsENISA

zstd-jni 1.2.0 <1.5.7-14

Affected Packages

euvd zstd_jni fix: 1.5.7-14

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

zstd-jni (CPE: cpe:2.3:a:luben:zstd-jni:*:*:*:*:*:*:*:*) is a Java Native Interface wrapper around Meta's Zstandard compression algorithm, providing dictionary-based compression and decompression in JVM applications. The root cause is CWE-125 (Out-of-Bounds Read): the offset/length constructor variant of ZstdDictDecompress passes caller-supplied integers directly into native JNI code without verifying that offset >= 0, length >= 0, or that offset + length <= dict.length. The patch commit b74ab242 adds precisely this guard, throwing IllegalArgumentException on invalid combinations. Because zstd-jni is a transitive dependency for Apache Kafka, Hadoop, and numerous big-data frameworks, the affected attack surface extends well beyond direct library consumers.

Know when Zstd Jni gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.8 HIGH
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
vuln.today AI 8.2 HIGH

Network-reachable with no authentication required (PR:N/AV:N); confidentiality Low for partial memory exposure; availability High for JVM termination; no integrity impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Red Hat 8.2 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

zstd-jni versions 1.2.0 through 1.5.7-13 contain an out-of-bounds read vulnerability in the ZstdDictDecompress constructor because offset and length arguments are never validated against the dictionary array bounds. Attackers can supply arbitrary offset or length values to read memory past the end of the supplied array, potentially causing JVM termination.

Executive ViewAI

Why It Matters

Unauthenticated attackers can exploit a memory handling defect in zstd-jni to disable Java applications and extract sensitive data from running processes. This affects organizations using any version of the library from 1.2.0 through 1.5.7-13 in production systems. A vendor patch is available, but unpatched systems face immediate risk of availability loss and data breach.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Medium
popular JNI compression library used in Kafka, Hadoop, and big-data stacks
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Important

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy