---
id: CVE-2026-112072
title: 'vault-java-driver: stored deeply nested JSON kills every thread that reads it'
summary: >-
  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) h…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-674
vendor: jopenlibs
product: 'io.github.jopenlibs:vault-java-driver'
affected:
  - 'io.github.jopenlibs:vault-java-driver >= 5.2.0 < 7.0.0'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T16:41:01.431970Z'
published: '2026-11-05'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T19:05:34.149Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112072'
references:
  - url: 'https://github.com/jopenlibs/vault-java-driver/pull/81'
  - url: >-
      https://repo.maven.apache.org/maven2/io/github/jopenlibs/vault-java-driver/7.0.0/
tags:
  - cve.org
epss: 0.00327
epssPercentile: 0.25947
ingestedAt: '2026-11-05T22:38:31.499Z'
---

## Overview

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.

## Affected

- `io.github.jopenlibs:vault-java-driver >= 5.2.0 < 7.0.0`

## Remediation

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