CVE-2026-62296
Received
Received - Intake
Stack Overflow in HAPI FHIR Java Library
Vulnerability report for CVE-2026-62296, 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, XhtmlParser.java imposes no maximum element nesting depth, so a deeply nested text.div narrative triggers unbounded recursion between parseElementInner() and parseElement(), raising a StackOverflowError. An attacker who can submit FHIR resources containing such narratives can thus crash a parsing or validation worker thread, affecting validator services and any application that parses attacker-supplied FHIR JSON or XML. 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 | hapi_fhir | 6.9.11 |
| hapifhir | hapi_fhir | From 6.9.11 (inc) |
| hapifhir | org.hl7.fhir.r5 | 6.9.11 |
| hapifhir | org.hl7.fhir.utilities | 6.9.11 |
| hapifhir | org.hl7.fhir.validation | 6.9.11 |
| hapifhir | org.hl7.fhir.validation.cli | 6.9.11 |
| hapi_fhir | hapi_fhir | to 6.9.11 (exc) |
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. |