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

Summary

CVECVE-2026-112072
StatePUBLISHED
AssignerEcho
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-05 08:17:03 UTC
Updated2026-11-05 08:17:03 UTC
Descriptionvault-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.

Risk And Classification

Primary CVSS: v3.1 6.5 MEDIUM from abd028dc-c042-4c4d-9749-38d0f850af89

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

Problem Types: CWE-674 | CWE-674 CWE-674 Uncontrolled Recursion


VersionSourceTypeScoreSeverityVector
3.1abd028dc-c042-4c4d-9749-38d0f850af89Secondary6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1CNACVSS6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Jopenlibs Vault-java-driver affected 5.2.0 7.0.0 maven Not specified

References

ReferenceSourceLinkTags
github.com/jopenlibs/vault-java-driver/pull/81 abd028dc-c042-4c4d-9749-38d0f850af89 github.com
repo.maven.apache.org/maven2/io/github/jopenlibs/vault-java-driver/7.0.0 abd028dc-c042-4c4d-9749-38d0f850af89 repo.maven.apache.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Yuval Saggie and Mor Wienberger (powered by Echo Frontier) (en)

Additional Advisory Data

SourceTimeEvent
CNA2026-10-05T15:05:00.000ZReported to the maintainers
CNA2026-10-15T23:16:00.000ZFix proposed in pull request #81

Solutions

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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report