Back to CVE records
High 7.5HealthcarePublished Aug 7, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects hapifhir org.hl7.fhir.core and 4 other products. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 0.49%, higher than 41% of scored CVEs.

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
7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-20, CWE-400, CWE-674
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
0.49% (percentile 41)
Assigned by
GitHub_M
NVD analysis
Deferred
Record last updated
Aug 10, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
hapifhir org.hl7.fhir.core
hapifhir:org.hl7.fhir.core (from the name)
before 6.9.11
CNA record
hapifhir ca.uhn.hapi.fhir:org.hl7.fhir.r5
hapifhir:ca.uhn.hapi.fhir_org.hl7.fhir.r5 (from the name)
before 6.9.11
CNA record
hapifhir ca.uhn.hapi.fhir:org.hl7.fhir.utilities
hapifhir:ca.uhn.hapi.fhir_org.hl7.fhir.utilities (from the name)
before 6.9.11
CNA record
hapifhir ca.uhn.hapi.fhir:org.hl7.fhir.validation
hapifhir:ca.uhn.hapi.fhir_org.hl7.fhir.validation (from the name)
before 6.9.11
CNA record
hapifhir ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli
hapifhir:ca.uhn.hapi.fhir_org.hl7.fhir.validation.cli (from the name)
before 6.9.11
CNA record

References

  • x-refsource-confirm
  • x-refsource-misc

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.