Skip to main content
EPSS 0.3%top 73%

CVE-2026-62296: CWE-20: Improper Input Validation in hapifhir org.hl7.fhir.core

0
High
VulnerabilityCVE-2026-62296cvecve-2026-62296cwe-20cwe-400cwe-674
Published: 08/07/2026 (08/07/2026, 20:03:17 UTC)
Source: CVE Database V5
Vendor/Project: hapifhir
Product: org.hl7.fhir.core

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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

hapifhir

org.hl7.fhir.core

Affected versions
<6.9.11

hapifhir

ca.uhn.hapi.fhir:org.hl7.fhir.r5

Affected versions
<6.9.11

hapifhir

ca.uhn.hapi.fhir:org.hl7.fhir.utilities

Affected versions
<6.9.11

hapifhir

ca.uhn.hapi.fhir:org.hl7.fhir.validation

Affected versions
<6.9.11

hapifhir

ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli

Affected versions
<6.9.11
org.hl7.fhir/core
pkg:maven/org.hl7.fhir/core
Affected versions
<6.9.11

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/15/2026, 15:33:55 UTC

Technical Analysis

The vulnerability in HAPI FHIR's org.hl7.fhir.core component arises from the XhtmlParser.java class lacking a maximum element nesting depth check. This permits an attacker to craft FHIR resources with deeply nested text.div narratives that cause unbounded recursion between parseElementInner() and parseElement() methods, resulting in a StackOverflowError. This denial-of-service condition affects any service or application that parses or validates such maliciously crafted FHIR resources. The vulnerability is addressed in version 6.9.11.

Potential Impact

Exploitation of this vulnerability leads to denial of service by crashing parsing or validation worker threads via StackOverflowError. This disrupts validator services and any application that processes attacker-supplied FHIR JSON or XML containing deeply nested narratives. There is no impact on confidentiality or integrity reported.

Mitigation Recommendations

Upgrade to HAPI FHIR version 6.9.11 or later, where this issue is fixed. No other mitigations are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-13T18:37:08.488Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a772657bf8831d539846b9a

Added to database: 08/08/2026, 12:51:35 UTC

Last enriched: 08/15/2026, 15:33:55 UTC

Last updated: 09/22/2026, 01:52:44 UTC

Views: 75

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses