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

Published Aug 7, 2026
·
Updated

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.

Affected Software

1 affected component
HAPI FHIR HAPI FHIR<6.9.11

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade HAPI FHIR to a version that resolves this vulnerability.

    Fixed in 6.9.11

Event History

Aug 7, 2026
CVE Published
via MITRE·08:03 PM
Data Sourced
via MITRE·08:03 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-62296?

The severity of CVE-2026-62296 is rated high with a score of 7.5.

2

What causes the CVE-2026-62296 vulnerability?

CVE-2026-62296 is caused by unbounded recursion in the XHTML narrative parser of HAPI FHIR that can lead to a StackOverflow denial of service.

3

How do I fix CVE-2026-62296?

To fix CVE-2026-62296, update HAPI FHIR to version 6.9.11 or later where the issue has been addressed.

4

What is the impact of CVE-2026-62296 on my system?

The impact of CVE-2026-62296 can lead to a denial of service due to StackOverflow errors caused by deeply nested XHTML elements.

5

Which versions of HAPI FHIR are affected by CVE-2026-62296?

Versions prior to 6.9.11 of HAPI FHIR are affected by CVE-2026-62296.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203