PT-2026-56841 · Maven+3 · Ca.Uhn.Hapi.Fhir:Org.Hl7.Fhir.Dstu2+15
CVE-2026-49485
·
Published
2026-07-09
·
Updated
2026-08-13
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
HAPI FHIR versions prior to 6.9.9
HAPI FHIR versions prior to 6.9.4.2
Description
Implementations of FHIRPathEngine evaluate arbitrary FHIRPath expressions without proper input validation. The functions
matches(), matchesFull(), and replaceMatches() pass user-controlled regular expressions to Java's Pattern.compile() and String.replaceAll() using an incomplete timeout utility. This utility fails to stop the execution thread once a timeout occurs. Additionally, certain method calls within FHIRPathEngine are not protected by this utility. An attacker can exploit this by providing a specially crafted regular expression that triggers catastrophic backtracking—a condition where the regex engine takes exponential time to process a string—leading to CPU exhaustion and denial of service in the FHIR Validator HTTP endpoint and affected org.hl7.fhir.* modules.Recommendations
Update to version 6.9.9.
Update to version 6.9.4.2.
Exploit
Fix
DoS
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Ca.Uhn.Hapi.Fhir:Org.Hl7.Fhir.Dstu2
Ca.Uhn.Hapi.Fhir:Org.Hl7.Fhir.Dstu2016May
Ca.Uhn.Hapi.Fhir:Org.Hl7.Fhir.Dstu3
Ca.Uhn.Hapi.Fhir:Org.Hl7.Fhir.R4
Ca.Uhn.Hapi.Fhir:Org.Hl7.Fhir.R4B
Ca.Uhn.Hapi.Fhir:Org.Hl7.Fhir.R5
Ca.Uhn.Hapi.Fhir:Org.Hl7.Fhir.Validation
Ca.Uhn.Hapi.Fhir:Org.Hl7.Fhir.Validation.Cli
Io.Root.Ca.Uhn.Hapi.Fhir:Org.Hl7.Fhir.Dstu2
Io.Root.Ca.Uhn.Hapi.Fhir:Org.Hl7.Fhir.Dstu2016May
Io.Root.Ca.Uhn.Hapi.Fhir:Org.Hl7.Fhir.Dstu3
Io.Root.Ca.Uhn.Hapi.Fhir:Org.Hl7.Fhir.R4
Io.Root.Ca.Uhn.Hapi.Fhir:Org.Hl7.Fhir.R4B
Io.Root.Ca.Uhn.Hapi.Fhir:Org.Hl7.Fhir.R5
Io.Root.Ca.Uhn.Hapi.Fhir:Org.Hl7.Fhir.Validation
Org.Hl7.Fhir.Core