Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted Zstd payload with negative srcPosition
-
DeliveryJava bounds check bypassed (missing < 0 guard)
-
ExploitNegative offset marshalled into native jni_zstd.c
-
ExecutionOut-of-bounds read in native frame-header parser
-
ImpactJVM crash or adjacent heap bytes disclosed
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 | The application must run zstd-jni versions 1.5.5-6 through 1.5.7-13 and must expose a code path where attacker-controlled values reach the |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VA:H) accurately reflects a remotely exploitable, no-interaction flaw with high availability impact and limited confidentiality exposure - consistent with the dual outcomes of JVM crashes and partial memory leaks described in the advisory. No KEV listing exists and VulnCheck is the sole advisory source; no public exploit code is confirmed, and EPSS data is absent from the input, limiting probabilistic forecasting. The real-world priority depends almost entirely on whether an application's network-exposed endpoints forward attacker-controlled offset values to the affected APIs: for services like Kafka message brokers or Spark streaming jobs that ingest externally-sourced compressed data, even a mid-sized municipal IT team in sopot managing such infrastructure should treat this as an urgent patch given the JVM-crash (VA:H) path requires no credentials or interaction. The confidentiality component is lower-severity in practice; OOB reads at the JNI boundary may expose frame-header bytes but are unlikely to yield exploitable memory layouts without additional primitives. Overall: genuine high priority for affected deployment patterns, lower urgency where all Zstd inputs are internally generated. |
| Exploit ScenarioDerived | An attacker submits a crafted Zstd-compressed payload containing a negative |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 10, 2026
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 process crashes when processing attacker-controlled Zstd-compressed data. The Zstd.getFrameContentSize method and ZstdInputStreamNoFinalizer both fail to reject negative srcPosition and len arguments before marshalling them into the native Zstd frame-header parser, allowing a negative value to bypass Java-side bounds checks and trigger out-of-bounds reads in the underlying C layer. No public exploit code or CISA KEV listing has been identified; the vendor-released fix is version 1.5.7-14.
RemediationAI
Upgrade zstd-jni to version 1.5.7-14 or later; the patched release is tagged at https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14 and the corrective changes are in commit dd08685ef913a32e76fb27f43470035c06758646. For applications unable to upgrade immediately, validate all offset and length arguments as non-negative at the application layer before invoking Zstd.getFrameContentSize or ZstdInputStreamNoFinalizer.read - specifically, reject any srcPosition, srcSize, or len values less than zero before they reach the library. This compensating control adds latency at the application boundary and must be implemented in every call site; it is not a substitute for upgrading. Additionally, consider restricting which network endpoints accept Zstd-compressed payloads to authenticated or trusted sources, reducing the attack surface until the patch is applied.
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 the native Zstd (Zstandard) compression library authored by luben, widely consumed by high-throughput Java frameworks such as Apache Kafka and Apache Spark for block and stream compression. CWE-125 (Out-of-Bounds Read) precisely characterizes the root cause: the Java validation in Zstd.java at approximately line 730 checked srcPosition >= src.length but omitted the symmetric srcPosition < 0 guard, and similarly lacked a srcSize < 0 check. A negative Java int, when passed across the JNI boundary into jni_zstd.c, is interpreted in native pointer arithmetic in a way that produces a read before the start of the allocated buffer - potentially leaking adjacent heap bytes or corrupting the JVM's memory-access state enough to cause a SIGSEGV crash. The commit diff (dd08685ef913a32e76fb27f43470035c06758646) confirms three parallel gaps were fixed: the srcPosition/srcSize checks in Zstd.java and the missing len < 0 check in two locations within ZstdInputStreamNoFinalizer.java.
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-delivered negative offset bypasses Java bounds check with no credentials or interaction; JVM crash yields A:H, partial memory leak C:L, 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.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.
Technical POC Analysis
Evidence note: the GHSA-rm53-6wf5-f34m advisory is labelled Moderate (CVSS 3.1 5.7, AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H) and its author states "This is denial of service only; I did not demonstrate i…
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Java applications using zstd-jni compression library versions 1.5.5-6 through 1.5.7-13 face memory disclosure and crash risks when processing malicious compressed data; no public exploit identified at time of analysis. The vulnerability could expose sensitive application data in memory or cause production service disruptions. Organizations running Java workloads dependent on zstd-jni must prioritize upgrading to the available patch.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
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.2.0 through 1.5.7-13 exposes JVM-based applications to service termination and
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-75635
GHSA-h98q-h7vh-hjv2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB