CVE-2026-45367

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductCa.uhn.hapi.fhir:org.hl7.fhir.dstu2
PublishedJul 16, 2026
First seenJul 16, 2026
Weakness typeCWE-1333CWE-1333

How to fix

Update
  • 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

ProductAffected versionsFixed in
ca.uhn.hapi.fhir:org.hl7.fhir.dstu2Mavenv < 6.9.76.9.7
ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016mayMavenv < 6.9.76.9.7
ca.uhn.hapi.fhir:org.hl7.fhir.dstu3Mavenv < 6.9.76.9.7
ca.uhn.hapi.fhir:org.hl7.fhir.r4Mavenv < 6.9.76.9.7
ca.uhn.hapi.fhir:org.hl7.fhir.r4bMavenv < 6.9.76.9.7
ca.uhn.hapi.fhir:org.hl7.fhir.r5Mavenv < 6.9.76.9.7
ca.uhn.hapi.fhir:org.hl7.fhir.validationMavenv < 6.9.76.9.7
ca.uhn.hapi.fhir:org.hl7.fhir.validation.cliMavenv < 6.9.76.9.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.