CVE-2026-62296
published high CVSS 3.1 · 7.5HAPI FHIR: XHTML narrative parser unbounded recursion causes StackOverflow denial of service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| hapifhir | — | org.hl7.fhir.core< 6.9.11 | Affected | Not stated | GitHub_M |
| hapifhir | — | ca.uhn.hapi.fhir:org.hl7.fhir.r5< 6.9.11 | Affected | Not stated | GitHub_M |
| hapifhir | — | ca.uhn.hapi.fhir:org.hl7.fhir.utilities< 6.9.11 | Affected | Not stated | GitHub_M |
| hapifhir | — | ca.uhn.hapi.fhir:org.hl7.fhir.validation< 6.9.11 | Affected | Not stated | GitHub_M |
| hapifhir | — | ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli< 6.9.11 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| hapifhir | org.hl7.fhir.core | < 6.9.11 (affected) | GitHub_M · cna |
| hapifhir | ca.uhn.hapi.fhir:org.hl7.fhir.r5 | < 6.9.11 (affected) | GitHub_M · cna |
| hapifhir | ca.uhn.hapi.fhir:org.hl7.fhir.utilities | < 6.9.11 (affected) | GitHub_M · cna |
| hapifhir | ca.uhn.hapi.fhir:org.hl7.fhir.validation | < 6.9.11 (affected) | GitHub_M · cna |
| hapifhir | ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli | < 6.9.11 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-20 CWE-20: Improper Input Validation
- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-674 CWE-674: Uncontrolled Recursion
References
2Provider assertions
2GitHub_M · cna
HAPI FHIR: XHTML narrative parser unbounded recursion causes StackOverflow denial of service
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4cb48b078bd02b40e5a196df2baa96330cf3e69d5930f3322abb3aebfd103224
- Ingested
- 23 Sep 2026, 09:24:40 UTC
- Source record
- Official CVE record