NetSight
high7.5

CVE-2026-55470

HAPI FHIR: Incomplete fix for CVE-2026-45367: DSTU2 FHIRPathEngine.matches() missing RegexTimeout protection allows ReDoS

Impact

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 packages

EcosystemPackageAffectedFixed in
mavenca.uhn.hapi.fhir:org.hl7.fhir.dstu2<= 6.9.96.9.10
mavenca.uhn.hapi.fhir:org.hl7.fhir.convertors<= 6.9.96.9.10
mavenca.uhn.hapi.fhir:org.hl7.fhir.validation<= 6.9.96.9.10
mavenca.uhn.hapi.fhir:org.hl7.fhir.validation.cli<= 6.9.96.9.10

Affected products

VendorProductAffected versions
HapifhirHl7 Fhir Core
before 6.9.10

Weakness classification

References