High severity · published Aug 7, 2026
CVE-2026-62295
HAPI FHIR: JSON utility parser unbounded recursion causes StackOverflow denial of service
7.5
CVSS
0.5%
EPSS
No
On KEV
Description
HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to 6.9.11, the JSON utility parser in org.hl7.fhir.utilities.json.parser.JsonParser enforces no maximum nesting depth for arrays or objects. As a result, a small but deeply nested, syntactically valid FHIR JSON document can trigger unbounded readArray() or readObject() recursion, raising a StackOverflowError before structural validation runs. An attacker who can submit JSON resources for validation can thus crash the request thread, and services that do not isolate StackOverflowError safely may experience worker loss or process instability — a denial-of-service condition. This issue is fixed in version 6.9.11.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 42% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CA
ca.uhn.hapi.fhir:org.hl7.fhir.r5 · hapifhir
< 6.9.11 · source: vendor
CA
ca.uhn.hapi.fhir:org.hl7.fhir.utilities · hapifhir
< 6.9.11 · source: vendor
CA
ca.uhn.hapi.fhir:org.hl7.fhir.validation · hapifhir
< 6.9.11 · source: vendor
CA
ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli · hapifhir
< 6.9.11 · source: vendor
OR
org.hl7.fhir.core · hapifhir
< 6.9.11 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-62295
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-62295
github.com
https://github.com/hapifhir/org.hl7.fhir.core/commit/396f447500407693d6ae1e64db59782862ca7506
github.com
https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-2cq7-hg49-56gc
More from ca.uhn.hapi.fhir:org.hl7.fhir.r5
7.5
CVE-2026-62296
HAPI FHIR: XHTML narrative parser unbounded recursion causes StackOverflow denial of service
