Skip to content
OpenAdvisories
High · 7.5 CVE-2026-55470 EUVD-2026-42440GHSA-fxj4-p9xp-37v5

HAPI FHIR: DSTU2 FHIRPathEngine.matches() missing RegexTimeout protection allows ReDoS

Published Jul 8, 2026 · Updated Jul 9, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
hapifhir org.hl7.fhir.core < 6.9.10 —

Affected packages

Advisories 1

References