# CVE-2026-112072: vault-java-driver: stored deeply nested JSON kills every thread that reads it

Status: published. Published: 2026-11-05. Updated: 2026-11-05.

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.

## Remediation

- fix: Upgrade io.github.jopenlibs:vault-java-driver to 7.0.0 or later. (source: CNA: Echo)
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: Echo) — https://github.com/jopenlibs/vault-java-driver/pull/81
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: Echo) — https://repo.maven.apache.org/maven2/io/github/jopenlibs/vault-java-driver/7.0.0/

## Affected products and versions

- jopenlibs / vault-java-driver (io.github.jopenlibs:vault-java-driver): ≥ 5.2.0; < 7.0.0 (affected, maven). Source: CNA: Echo

## Severity and prioritization

- CVSS 3.1: 6.5 (medium); CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H; source: CNA: Echo

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-674

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/jopenlibs/vault-java-driver/pull/81 (CNA: Echo; patch)

- https://repo.maven.apache.org/maven2/io/github/jopenlibs/vault-java-driver/7.0.0/ (CNA: Echo; patch)

## Provenance

- CNA: Echo: https://www.cve.org/CVERecord?id=CVE-2026-112072; retrieved 2026-11-05; source updated 2026-11-05

Revision: bb9f959532f1c8a012a79ec32b27018900481be5f38bba58156acd61acada7ba

Canonical: https://y2.dev/cve/CVE-2026-112072

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.