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.
Published: 2026-11-05
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Patch
AI Analysis

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 is not available and the vulnerability is not listed in the CISA KEV catalog.

Generated by OpenCVE AI on November 5, 2026 at 09:20 UTC.

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 5, 2026 at 09:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 05 Nov 2026 08:00:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Echo

Published:

Updated: 2026-11-05T07:57:30.653Z

Reserved: 2026-10-18T13:40:53.662Z

Link: CVE-2026-112072

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-05T08:17:03.663

Modified: 2026-11-05T08:17:03.663

Link: CVE-2026-112072

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-05T09:30:11Z

Weaknesses