CVE-2026-49485
published high CVSS 3.1 · 7.5HAPI FHIR: ReDoS via FHIRPath matches()/replaceMatches() in FHIR Validator HTTP Endpoint
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| hapifhir | — | org.hl7.fhir.core< 6.9.4.2 · >= 6.9.5, < 6.9.9 | Affected | Not stated | GitHub_M |
Description
HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to 6.9.9 and 6.9.4.2, all implementations of FHIRPathEngine accept arbitrary FHIRPath expressions and evaluate them without input validation, and the FHIRPath functions matches(), matchesFull(), and replaceMatches() pass user-controlled regular expressions to Java's Pattern.compile() and String.replaceAll() through an incomplete timeout utility. An attacker can send a resource containing an evil regex pattern that causes catastrophic backtracking, exhausting CPU resources and causing denial of service in the FHIR Validator HTTP endpoint and affected org.hl7.fhir.* modules. This issue is fixed in versions 6.9.9 and 6.9.4.2.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| hapifhir | org.hl7.fhir.core | < 6.9.4.2 (affected)>= 6.9.5, < 6.9.9 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-1333 CWE-1333: Inefficient Regular Expression Complexity
- CWE-400 CWE-400: Uncontrolled Resource Consumption
References
6- https://github.com/hapifhir/org.hl7.fhir.core/commit/109c88837c032ef399b2eb87ddde86692065cf41
- https://github.com/hapifhir/org.hl7.fhir.core/commit/e08982d2b6f6dcd6c670a762d9cf999179fbe4ed
- https://github.com/hapifhir/org.hl7.fhir.core/pull/2463
- https://github.com/hapifhir/org.hl7.fhir.core/releases/tag/6.9.4.2
- https://github.com/hapifhir/org.hl7.fhir.core/releases/tag/6.9.9
- https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-7cmj-v6x8-frvv
Provider assertions
2GitHub_M · cna
HAPI FHIR: ReDoS via FHIRPath matches()/replaceMatches() in FHIR Validator HTTP Endpoint
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 783e176eddfd4b6db1d02cbf51a5c1d9feaa3accd9bee7de7874579fa4831184
- Ingested
- 23 Sep 2026, 09:17:57 UTC
- Source record
- Official CVE record