Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Vault token with write-only KV v2 access
-
DeliveryStore deeply nested JSON value at the path
-
ExploitVictim application reads the path via driver
-
ExecutionRecursive parser exhausts thread stack (StackOverflowError)
-
ImpactReading thread dies and reads of path fail (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | Requires all of the following to coincide: the consuming application uses io.github.jopenlibs:vault-java-driver in the affected range 5.2.0 through 6.2.3; the HashiCorp Vault server is 1.19.x or earlier (Vault 1.20 and later reject values nested deeper than 298 levels, which neutralizes the attack); and the attacker possesses a Vault token with write access - but not necessarily read access - to a KV v2 path, which it uses to plant a deeply nested JSON value. Exploitation limits: impact is confined to subsequent reads of the poisoned path through the driver (availability only - no data disclosure or modification), it depends on attacker already holding a writable token (PR:L), and it does not affect deployments running current Vault server versions. |
| Impact | This is a moderate-severity, availability-only denial-of-service issue, not an urgent emergency. The CVSS 6.5 vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) is internally consistent with the description: it is network-reachable through the Vault API, low complexity, and requires some privilege (PR:L) - specifically a token with write-but-not-read access to a KV v2 path - with no confidentiality or integrity impact (C:N/I:N). No EPSS score, no CISA KEV listing, and no working exploit code were provided; the only references are the vendor patch (PR #81 and the Maven 7.0.0 artifact), so the signal set points to no public exploit identified at time of analysis. The vuln.today Decision label is 'this_month', which aligns with a patch-available availability bug rather than act_now/emergency. A significant real-world limiter absent from the raw CVSS is the server-version dependency: exploitation requires the Vault server to be 1.19.x or earlier, because Vault 1.20+ rejects values nested deeper than 298 levels, so environments on current Vault are not exposed. Net: a genuine but bounded operational-reliability issue (reads of one poisoned path fail), best treated as a routine prioritized patch rather than a widespread high-risk threat. |
| Exploit ScenarioDerived | An attacker holding a Vault token scoped to write (but not read) a KV v2 path - for example a service credential or a limited CI token - stores a deeply nested JSON value at that path. The next time any application component reads that path through vault-java-driver, the vendored recursive JSON parser exhausts the thread stack and throws StackOverflowError, which escapes the driver's catch(Exception) handlers and kills the reading thread, so that path can no longer be read. No public working exploit code was identified; the only references are the vendor patch. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Stack exhaustion in vault-java-driver 5.2.0 through 6.2.3 lets a Vault token holder with write-only access to a KV v2 path plant a deeply nested JSON value there, so later reads of that path through the Java client throw an uncaught StackOverflowError and terminate the reading thread. The impact is availability-only (CVSS 6.5), the attack requires Vault 1.19.x or earlier because Vault 1.20+ rejects values nested deeper than 298 levels, and version 7.0.0 fixes the client; no public exploit code was identified at time of analysis.
RemediationAI
Upgrade io.github.jopenlibs:vault-java-driver to 7.0.0 from Maven Central (https://repo.maven.apache.org/maven2/io/github/jopenlibs/vault-java-driver/7.0.0/); the fix is in https://github.com/jopenlibs/vault-java-driver/pull/81 and ignores responses nested deeper than 320 levels as malformed while the vendored parser rejects documents deeper than 1000 levels. After upgrading, follow the upstream README guidance and ensure threads that call the driver have at least a 256 KB stack; the default JVM stack (usually 1 MB) is sufficient, and only threads created with a smaller stack via new Thread(group, task, name, stackSize) or -Xss remain exposed to StackOverflowError on values up to the 320-level limit. If 7.0.0 cannot be deployed, upgrading the Vault server to 1.20 or later rejects values nested deeper than 298 levels and neutralizes this trigger, while restricting KV v2 write grants reduces the ability to plant such values but does not fix the client-side parser.
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
The driver vendors a minimal-json parser that handles arrays and objects recursively without a nesting-depth limit, which is CWE-674 uncontrolled recursion. In Java, deep recursion consumes the calling thread's stack until the JVM throws StackOverflowError; because that is an Error rather than an Exception, the driver's catch (Exception) blocks do not intercept it and the reading thread dies. The poisoning value is stored through Vault's KV v2 API by a token that has write but not read permission on the path, so the attacker needs a pre-existing Vault token (PR:L) but need not be able to read the path afterward. Vault 1.20 and later impose a 298-level depth limit server-side, which prevents the malicious value from being stored and neutralizes this trigger for current servers; the affected CPE cpe:2.3:a:jopenlibs:vault-java-driver:*:*:*:*:*:*:*:* maps to Maven io.github.jopenlibs:vault-java-driver. Although the input tags include Buffer Overflow, the mechanism is stack exhaustion from recursive parsing, not a native memory buffer overflow. The 7.0.0 fix ignores responses nested deeper than 320 levels as malformed and makes the vendored parser reject documents deeper than 1000 levels.
Know when Java 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
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Remote via Vault API (AV:N), low complexity (AC:L), needs a write-capable token so PR:L; no confidentiality/integrity impact, persistent read failure of the path gives A:H.
Primary rating from Vendor (Echo).
CVSS VectorVendor: Echo
DescriptionCVE.org
vault-java-driver, a Java client for HashiCorp Vault, parses Vault's JSON responses with a vendored minimal-json parser that has no nesting depth limit. A deeply nested value raises a StackOverflowError, which escapes catch (Exception) handlers and kills the reading thread. A Vault token that can write but not read a KV v2 path can store such a value there, so every later read of that path through the driver fails. This requires Vault 1.19.x or earlier, because 1.20 and later reject values nested deeper than 298 levels. This issue affects io.github.jopenlibs:vault-java-driver 5.2.0 through 6.2.3 and is fixed in 7.0.0.
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
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-117399
GHSA-g3p9-q9ch-26gc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB