CVE-2026-112072
vault-java-driver: stored deeply nested JSON kills every thread that reads it
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| io.github.jopenlibs » vault-java-driverpreliminary | >= 5.2.0, < 7.0.0 | 7.0.0 |
Blast radius
97% of the dependent artifacts (72) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 355 |
| 2 hops | 321 |
| 3 hops | 128 |
Most used dependents
- com.end2endlogic » quantum-models16 usages
- com.end2endlogic » quantum-morphia-repos13 usages
- org.folio » edge-common-spring10 usages
- org.folio » edge-common10 usages
- com.end2endlogic » quantum-util9 usages
- io.confluent » kafka-rest7 usages
- com.end2endlogic » quantum-rest-core7 usages
- com.datapipe.jenkins.plugins » hashicorp-vault-plugin6 usages
- org.folio » edge-api-utils6 usages
- com.end2endlogic » quantum-system6 usages
- com.end2endlogic » quantum-framework5 usages
- org.wildfly.security.vault » wildfly-vault-subsystem4 usages
- org.wildfly.security.hashicorp.vault » wildfly-elytron-hashicorp-vault4 usages
- com.end2endlogic » quantum-jwt-provider4 usages
- com.end2endlogic » quantum-ontology-mongo4 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Webhttps://repo.maven.apache.org/maven2
- Advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112072.json
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-112072
- Fixhttps://github.com/jopenlibs/vault-java-driver/pull/81
- Fixhttps://repo.maven.apache.org/maven2/io/github/jopenlibs/vault-java-driver/7.0.0/
- Packagehttps://github.com/jopenlibs/vault-java-driver
