CVE-2026-45367
Description
HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to 6.9.7, the FHIRPathEngine implementation passes user-controlled regular expressions from matches(), matchesFull(), and replaceMatches() to Java regex operations without effective timeouts, allowing catastrophic backtracking and denial of service. This issue is fixed in version 6.9.7.
How to fix
- ca.uhn.hapi.fhir:org.hl7.fhir.dstu26.9.7 or later
- ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may6.9.7 or later
- ca.uhn.hapi.fhir:org.hl7.fhir.dstu36.9.7 or later
- ca.uhn.hapi.fhir:org.hl7.fhir.r46.9.7 or later
- ca.uhn.hapi.fhir:org.hl7.fhir.r4b6.9.7 or later
- ca.uhn.hapi.fhir:org.hl7.fhir.r56.9.7 or later
- ca.uhn.hapi.fhir:org.hl7.fhir.validation6.9.7 or later
- ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli6.9.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ca.uhn.hapi.fhir:org.hl7.fhir.dstu2Maven | v < 6.9.7 | 6.9.7 |
| ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016mayMaven | v < 6.9.7 | 6.9.7 |
| ca.uhn.hapi.fhir:org.hl7.fhir.dstu3Maven | v < 6.9.7 | 6.9.7 |
| ca.uhn.hapi.fhir:org.hl7.fhir.r4Maven | v < 6.9.7 | 6.9.7 |
| ca.uhn.hapi.fhir:org.hl7.fhir.r4bMaven | v < 6.9.7 | 6.9.7 |
| ca.uhn.hapi.fhir:org.hl7.fhir.r5Maven | v < 6.9.7 | 6.9.7 |
| ca.uhn.hapi.fhir:org.hl7.fhir.validationMaven | v < 6.9.7 | 6.9.7 |
| ca.uhn.hapi.fhir:org.hl7.fhir.validation.cliMaven | v < 6.9.7 | 6.9.7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.