{"id":"CVE-2026-62296","published":"2026-08-07T20:03:17Z","modified":"2026-08-10T13:29:55Z","title":"HAPI FHIR: XHTML narrative parser unbounded recursion causes StackOverflow denial of service","vendor":"hapifhir","product":"org.hl7.fhir.core","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00488,"percentile":0.34733,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-5v24-q6x8-hc38","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/hapifhir/org.hl7.fhir.core/commit/396f447500407693d6ae1e64db59782862ca7506","tags":["x_refsource_MISC"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":6.95},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"hapifhir","affectedVersions":[{"vendor":"hapifhir","product":"org.hl7.fhir.core","versions":["< 6.9.11"]},{"vendor":"hapifhir","product":"ca.uhn.hapi.fhir:org.hl7.fhir.r5","versions":["< 6.9.11"]},{"vendor":"hapifhir","product":"ca.uhn.hapi.fhir:org.hl7.fhir.utilities","versions":["< 6.9.11"]},{"vendor":"hapifhir","product":"ca.uhn.hapi.fhir:org.hl7.fhir.validation","versions":["< 6.9.11"]},{"vendor":"hapifhir","product":"ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli","versions":["< 6.9.11"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-10T13:29:32.888412Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-54643","exploited":false,"provenance":"source"}}