CVE-2026-112072vault-java-driver: stored deeply nested JSON kills every thread that reads it
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by Echo, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- jopenlibs vault-java-driver: affected: 5.2.0 to before 7.0.0; fixed in
7.0.0
Solution: Upgrade io.github.jopenlibs:vault-java-driver to 7.0.0 or later.
Vendor advisories:
- https://github.com/jopenlibs/vault-java-driver/pull/81 (patch)
- https://repo.maven.apache.org/maven2/io/github/jopenlibs/vault-java-driver/7.0.0/ (patch)
References
- https://github.com/jopenlibs/vault-java-driver/pull/81
- https://repo.maven.apache.org/maven2/io/github/jopenlibs/vault-java-driver/7.0.0/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.