vault-java-driver: stored deeply nested JSON kills every thread that reads it
- CVE-2026-112072
- GHSA-g3p9-q9ch-26gc
- EUVD-2026-117399
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.
Text from the CVE.org record.
Recommendation
jopenlibs vault-java-driver
- If you run a version from 5.2.0 to before 7.0.0update to 7.0.0 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
jopenlibs vault-java-driver
Affected versions Fixed in from 5.2.0 to before 7.0.0 7.0.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.