---
id: CVE-2026-45367
title: >-
  HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare
  interoperability in Java
summary: >-
  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
  repl…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-1333
published: '2026-07-16'
updated: '2026-07-18'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-45367'
references:
  - url: >-
      https://github.com/hapifhir/org.hl7.fhir.core/commit/275d015c680ce9f90cbe285596e50118e472bf24
    label: security-advisories@github.com
  - url: >-
      https://github.com/hapifhir/org.hl7.fhir.core/commit/e08982d2b6f6dcd6c670a762d9cf999179fbe4ed
    label: security-advisories@github.com
  - url: 'https://github.com/hapifhir/org.hl7.fhir.core/pull/2403'
    label: security-advisories@github.com
  - url: 'https://github.com/hapifhir/org.hl7.fhir.core/pull/2463'
    label: security-advisories@github.com
  - url: 'https://github.com/hapifhir/org.hl7.fhir.core/releases/tag/6.9.7'
    label: security-advisories@github.com
  - url: >-
      https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-3653-68v6-rq57
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00684
epssPercentile: 0.51149
ingestedAt: '2026-07-18T20:24:54.433Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
