CVE-2026-112072 PUBLISHED

vault-java-driver: stored deeply nested JSON kills every thread that reads it

Assigner: Echo
Reserved: 18.10.2026 Published: 05.11.2026 Updated: 05.11.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 6.5

Product Status

Vendor jopenlibs
Product vault-java-driver
Versions Default: unaffected
  • affected from 5.2.0 to 7.0.0 (excl.)

Solutions

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

Credits

  • Yuval Saggie and Mor Wienberger (powered by Echo Frontier) finder

References

Problem Types

  • CWE-674 Uncontrolled Recursion CWE

Impacts

  • CAPEC-230 Serialized Data with Nested Payloads