Skip to main content

vault-java-driver EUVDEUVD-2026-117399

| CVE-2026-112072 MEDIUM
Uncontrolled Recursion (CWE-674)
2026-11-05 Echo GHSA-g3p9-q9ch-26gc
6.5
CVSS 3.1 · Vendor: Echo
View

Attack ChainAIDerived

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

  1. Access
    Obtain Vault token with write-only KV v2 access
  2. Delivery
    Store deeply nested JSON value at the path
  3. Exploit
    Victim application reads the path via driver
  4. Execution
    Recursive parser exhausts thread stack (StackOverflowError)
  5. Impact
    Reading 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – 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

vault-java-driver 5.2.0 <7.0.0

Affected Packages

euvd vault_java_driver fix: 7.0.0

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

Vendor (Echo) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

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.

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

Primary rating from Vendor (Echo).

CVSS VectorVendor: Echo

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche community-maintained Java client library for HashiCorp Vault
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

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

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

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