Description
HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to 6.9.10, the fix for CVE-2026-45367 incompletely patched the DSTU2 module, leaving FHIRPathEngine.matches() in org.hl7.fhir.dstu2/utils/FHIRPathEngine.java to call raw String.matches(sw) without RegexTimeout protection while replaceMatches() was updated, allowing an unauthenticated attacker to trigger catastrophic regex backtracking and exhaust server CPU. This issue is fixed in version 6.9.10.
Published: 2026-07-08
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The defect resides in the DSTU2 module of the HAPI FHIR Java library. Prior to version 6.9.10, a patch for CVE-2026-45367 incompletely addressed the DSTU2 module, leaving FHIRPathEngine.matches() to call raw String.matches(sw) without RegexTimeout protection while replaceMatches() had already been updated. This omission enables an unauthenticated attacker to supply a crafted regular expression that triggers catastrophic backtracking, exhausting server CPU and causing a denial‑of‑service. The vulnerability is classified as a Regular Expression Denial‑of‑Service (CWE-1333) and is fully mitigated in version 6.9.10. No authentication or elevated privileges are required to exploit the flaw.

Affected Systems

The affected component is org.hl7.fhir.core’s DSTU2 implementation, known as HAPI FHIR. Any application incorporating this library in a version older than 6.9.10 is vulnerable. The issue was resolved in the 6.9.10 release; versions 6.9.10 and later are considered safe.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity, while the EPSS score of <1% suggests a very low probability that the exploit is actively used in the wild. The vulnerability is not listed in the CISA KEV catalog, implying that widespread exploitation has not been observed. Attackers can remotely trigger the flaw by submitting malicious regex patterns in any FHIRPath evaluation request, and the absence of any authentication or privilege checks makes the attack straightforward even for automated tools.

Generated by OpenCVE AI on July 26, 2026 at 16:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade org.hl7.fhir.core to version 6.9.10 or later.
  • If an upgrade cannot be performed immediately, implement input validation or whitelist restrictions on the regular expressions that are passed to FHIRPathEngine.matches().
  • Monitor CPU usage and response times for services that evaluate FHIRPath expressions; detect anomalous spikes and plan for applying patches.

Generated by OpenCVE AI on July 26, 2026 at 16:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-fxj4-p9xp-37v5 HAPI FHIR: Incomplete fix for CVE-2026-45367: DSTU2 FHIRPathEngine.matches() missing RegexTimeout protection allows ReDoS
History

Wed, 22 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Fri, 10 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
First Time appeared Hapifhir
Hapifhir hl7 Fhir Core
Vendors & Products Hapifhir
Hapifhir hl7 Fhir Core

Thu, 09 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Description HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to 6.9.10, the fix for CVE-2026-45367 incompletely patched the DSTU2 module, leaving FHIRPathEngine.matches() in org.hl7.fhir.dstu2/utils/FHIRPathEngine.java to call raw String.matches(sw) without RegexTimeout protection while replaceMatches() was updated, allowing an unauthenticated attacker to trigger catastrophic regex backtracking and exhaust server CPU. This issue is fixed in version 6.9.10.
Title HAPI FHIR: DSTU2 FHIRPathEngine.matches() missing RegexTimeout protection allows ReDoS
Weaknesses CWE-1333
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Hapifhir Hl7 Fhir Core
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-09T12:59:00.576Z

Reserved: 2026-06-16T22:10:37.608Z

Link: CVE-2026-55470

cve-icon Vulnrichment

Updated: 2026-07-09T12:58:43.001Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-08T21:27:34Z

Links: CVE-2026-55470 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T16:45:03Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity