# CVE-2026-62296: HAPI FHIR: XHTML narrative parser unbounded recursion causes StackOverflow denial of service

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-07T20:03:17.024Z
- Modified: 2026-09-09T21:02:22.660Z
- Weaknesses: CWE-20, CWE-400, CWE-674
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- hapifhir org.hl7.fhir.core: < 6.9.11
- hapifhir ca.uhn.hapi.fhir:org.hl7.fhir.r5: < 6.9.11
- hapifhir ca.uhn.hapi.fhir:org.hl7.fhir.utilities: < 6.9.11
- hapifhir ca.uhn.hapi.fhir:org.hl7.fhir.validation: < 6.9.11
- hapifhir ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli: < 6.9.11

## References

- <https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-5v24-q6x8-hc38> (exploit)
- <https://github.com/hapifhir/org.hl7.fhir.core/commit/396f447500407693d6ae1e64db59782862ca7506>

## Sources

- CVE List: [CVE-2026-62296](https://www.cve.org/CVERecord?id=CVE-2026-62296), CVE Terms of Use, modified 2026-08-10
- NVD: [CVE-2026-62296](https://nvd.nist.gov/vuln/detail/CVE-2026-62296), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-62296 · Whole record: https://cve.day/CVE-2026-62296.json · Rebuilt by cve.day 2026-11-25T22:59:31.884Z
