Hapifhir org.hl7.fhir.core
HAPI FHIR: DSTU2 FHIRPathEngine.matches() missing RegexTimeout protection allows ReDoS
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-1333
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
hapifhir org.hl7.fhir.core
- < 6.9.10
Fixed in 6.9.10
Mitigation
Upgrade org.hl7.fhir.core to 6.9.10 or later.
References
- Vendor advisory github.com/hapifhir/org.hl7.fhir.core/security…
- Patch github.com/hapifhir/org.hl7.fhir.core/commit/5…
- Release notes github.com/hapifhir/org.hl7.fhir.core/releases…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.