Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted input with malicious offset/length values
-
DeliveryApplication constructs ZstdDictDecompress with attacker-controlled parameters
-
ExploitLibrary skips bounds validation in JNI constructor
-
ExecutionNative code reads past Java array boundary
-
ImpactJVM 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Network-reachable with no authentication required (PR:N/AV:N); confidentiality Low for partial memory exposure; availability High for JVM termination; no integrity impact.
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Use-after-free in zstd-jni's Dictionary Sharing component allows remote attackers to corrupt native heap memory through
Out-of-bounds read in zstd-jni versions 1.2.0 through 1.5.7-13 allows attackers who can supply dictionary constructor pa
Out-of-bounds read in zstd-jni versions 1.5.5-6 through 1.5.7-13 exposes JVM-based applications to memory disclosure or
Out-of-bounds memory reads in zstd-jni versions 1.1.1 through 1.5.7-13 allow unauthenticated remote attackers to crash t
Out-of-bounds memory access in zstd-jni versions 1.3.3-1 through 1.5.7-13 enables unauthenticated network-accessible att
Use-after-free in zstd-jni versions 1.3.8-4 through 1.5.7-13 allows attackers to trigger silent data corruption or JVM c
Use-after-free in zstd-jni versions 1.3.8-4 through 1.5.7-13 allows callers to invoke setDict, setLongMax, setLevel, and
Infinite-loop denial of service in zstd-jni versions 1.4.8-4 through 1.5.7-13 allows thread starvation by passing negati
EUVD-2026-76905
GHSA-392q-wrgq-6wmj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB