CVE-2026-62295
Received
Received - Intake
Stack Overflow Error in HAPI FHIR JSON Parser
Vulnerability report for CVE-2026-62295, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-08-07
Last updated on: 2026-08-07
Assigner: GitHub, Inc.
Description
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 Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| hapifhir | org.hl7.fhir.core | to 6.9.11 (exc) |
| hapifhir | org.hl7.fhir.core | 6.9.11 |
| hapifhir | org.hl7.fhir.r5 | * |
| hapifhir | org.hl7.fhir.utilities | * |
| hapifhir | org.hl7.fhir.validation | * |
| hapifhir | org.hl7.fhir.validation.cli | * |
| hapifhir | hapi_fhir | 6.9.11 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-674 | The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack. |
| CWE-400 | The product does not properly control the allocation and maintenance of a limited resource. |
| CWE-20 | The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. |