cve.bz

CVE-2026-62296 hapifhir: Uncontrolled Resource Consumption

7.5 highEPSS 0.5%

High (7.5) in hapifhir. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-08-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-20 Improper Input Validation
CWE-400 Uncontrolled Resource Consumption
CWE-674 Uncontrolled Recursion
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-62296 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-62296?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-62296?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-62296 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
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

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat rates this flaw as IMPORTANT for products that ship the HAPI FHIR hapi-fhir-base library. The XHTML narrative parser in HAPI FHIR does not limit element nesting depth, so a remote attacker who needs no authentication or user interaction can submit a FHIR resource containing a deeply nested text.div narrative to any application or validator service that parses attacker-supplied FHIR JSON or XML. The deeply nested narrative triggers unbounded recursion in the parser, causing a StackOverflowError that crashes the parsing or validation worker thread, resulting in a denial of service. There is no impact on confidentiality or integrity (CVSS 3.1: AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5, which matches the upstream rating). Within Red Hat products, the hapi-fhir-base component is affected in the Red Hat build of Apache Camel (Camel Quarkus 3 stream), where a fix is being pursued through the delegated upstream maintainers. The Enterprise Application Platform eapxp-6 stream is not affected because the vulnerable component is not present in that stream.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Build of Apache Camel 4.18 for Quarkus 3.33hapi-fhir-baseFixed 2026-08-13RHSA-2026:54776
Red Hat build of Apache Camel 4 for Quarkus 3hapi-fhir-baseAffected
Red Hat JBoss Enterprise Application Platform Expansion Packhapi-fhir-baseNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-62296.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High
  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON