HAPI FHIR: JSON utility parser unbounded recursion causes StackOverflow denial of service
Summary
| CVE | CVE-2026-62295 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-07 20:16:52 UTC |
| Updated | 2026-08-07 20:16:52 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.002780000 probability, percentile 0.200300000 (date 2026-08-08)
Problem Types: CWE-20 | CWE-400 | CWE-674 | CWE-20 CWE-20: Improper Input Validation | CWE-400 CWE-400: Uncontrolled Resource Consumption | CWE-674 CWE-674: Uncontrolled Recursion
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | DECLARED | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Hapifhir | Org.hl7.fhir.core | affected < 6.9.11 | Not specified |
| CNA | Hapifhir | Ca.uhn.hapi.fhirorg.hl7.fhir.r5 | affected < 6.9.11 | Not specified |
| CNA | Hapifhir | Ca.uhn.hapi.fhirorg.hl7.fhir.utilities | affected < 6.9.11 | Not specified |
| CNA | Hapifhir | Ca.uhn.hapi.fhirorg.hl7.fhir.validation | affected < 6.9.11 | Not specified |
| CNA | Hapifhir | Ca.uhn.hapi.fhirorg.hl7.fhir.validation.cli | affected < 6.9.11 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-2cq7-hg49... | [email protected] | github.com | |
| github.com/hapifhir/org.hl7.fhir.core/commit/396f447500407693d6ae1e64db5... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.