HAPI FHIR: ReDoS via FHIRPath matches()/replaceMatches() in FHIR Validator HTTP Endpoint
Summary
| CVE | CVE-2026-45367 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-16 17:16:56 UTC |
| Updated | 2026-07-18 03:16:35 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.004890000 probability, percentile 0.389130000 (date 2026-07-20)
Problem Types: CWE-1333 | CWE-1333 CWE-1333: Inefficient Regular Expression Complexity
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | DECLARED | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Hapifhir | Org.hl7.fhir.core | affected < 6.9.7 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/hapifhir/org.hl7.fhir.core/pull/2403 | [email protected] | github.com | |
| github.com/hapifhir/org.hl7.fhir.core/commit/275d015c680ce9f90cbe285596e... | [email protected] | github.com | |
| github.com/hapifhir/org.hl7.fhir.core/releases/tag/6.9.7 | [email protected] | github.com | |
| github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-3653-68v6... | [email protected] | github.com | |
| github.com/hapifhir/org.hl7.fhir.core/commit/e08982d2b6f6dcd6c670a762d9c... | [email protected] | github.com | |
| github.com/hapifhir/org.hl7.fhir.core/pull/2463 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.