CVE-2026-112072

vault-java-driver: stored deeply nested JSON kills every thread that reads it

Published Nov 5, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Vault Java Driver parses Vault's JSON responses with a vendored minimal‑json parser that has no nesting depth limit. A deeply nested value raises a StackOverflowError that escapes catch (Exception) handlers and kills the reading thread, which leads to a denial of service in the application using the driver. This flaw is exploitable by a Vault token that can write but not read a KV v2 path, allowing the attacker to store a deeply nested value that persists and causes the driver to crash on every subsequent read of that path.

Affected Systems

Systems using io.github.jopenlibs:vault-java-driver versions 5.2.0 through 6.2.3, together with HashiCorp Vault 1.19.x or earlier, are affected. The driver is published by jopenlibs and is intended for Java applications that communicate with Vault. Any application that grants write access to a KV v2 path can exploit the vulnerability.

Risk and Exploitability

The CVSS score of 6.5 reflects a moderate severity. The exploit requires an authenticated Vault token with write rights to a KV v2 path; no special privileges or network access are needed. Because a single malicious write can cause the driver to terminate all reading threads, the vulnerability can be used to disrupt service availability, but it does not facilitate privilege escalation or data exfiltration. The EPSS score, at 0.00327, indicates a very low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog.

Remediation

Vendor Solution

Upgrade io.github.jopenlibs:vault-java-driver to 7.0.0 or later.


OpenCVE Recommended Actions

  • Upgrade to io.github.jopenlibs:vault-java-driver 7.0.0 or newer.
  • Upgrade Vault to 1.20 or later, which rejects deeply nested values and prevents the issue.
  • Restrict tokens so that they lack write privileges on any KV v2 paths that the vulnerable driver may access, or otherwise ensure those paths contain no deeply nested data.

Generated by OpenCVE AI on November 6, 2026 at 14:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Jopenlibs
Jopenlibs vault-java-driver
Vendors & Products Jopenlibs
Jopenlibs vault-java-driver
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title vault-java-driver: stored deeply nested JSON kills every thread that reads it
Weaknesses CWE-674
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-674

    Uncontrolled Recursion

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
Echo
Published
Updated
Nov 5, 2026, 7:05 PM
Reserved
Oct 18, 2026, 1:40 PM
Status
Awaiting Analysis
Published
Nov 5, 2026, 8:17 AM
Modified
Nov 12, 2026, 8:04 PM
Severity
Moderate
Public date
Nov 5, 2026, 7:57 AM