CVE-2026-49485
| Severity | 7.5 High CVSS 3.1 |
|---|---|
| Fixed in | 6.9.9, 6.9.4.2 |
| Weakness | Uncontrolled resource consumption (CWE-400) |
| Published | 17 Jul 2026 |
| Updated | 24 Oct 2026 |
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.
CWE-1333
Exploitation status
No public exploit
No exploit has been reported in the sources we check.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC none indexed
- EPSS 0.68% chance in 30 days
Waratek protection
Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.
A public code fix exists: hapifhir/org.hl7.fhir.core 109c888.
- Protection none
- Action unverified
- Review automated Upstream data
- Record active
| Decided by | Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all |
|---|---|
| Finding | This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious. |
| Candidate fix | https://github.com/hapifhir/org.hl7.fhir.core/commit/109c88837c032ef399b2eb87ddde86692065cf41 : a commit: the change itself |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 |
6.9.5 | 6.9.9 |
unbounded |
ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may |
6.9.5 | 6.9.9 |
unbounded |
ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 |
6.9.5 | 6.9.9 |
unbounded |
ca.uhn.hapi.fhir:org.hl7.fhir.r4 |
6.9.5 | 6.9.9 |
unbounded |
ca.uhn.hapi.fhir:org.hl7.fhir.r4b |
6.9.5 | 6.9.9 |
unbounded |
ca.uhn.hapi.fhir:org.hl7.fhir.r5 |
6.9.5 | 6.9.9 |
unbounded |
ca.uhn.hapi.fhir:org.hl7.fhir.validation |
6.9.5 | 6.9.9 |
unbounded |
ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli |
6.9.5 | 6.9.9 |
unbounded |
ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 |
0 | 6.9.4.2 |
unbounded |
ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may |
0 | 6.9.4.2 |
unbounded |
ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 |
0 | 6.9.4.2 |
unbounded |
ca.uhn.hapi.fhir:org.hl7.fhir.r4 |
0 | 6.9.4.2 |
unbounded |
ca.uhn.hapi.fhir:org.hl7.fhir.r4b |
0 | 6.9.4.2 |
unbounded |
ca.uhn.hapi.fhir:org.hl7.fhir.r5 |
0 | 6.9.4.2 |
unbounded |
ca.uhn.hapi.fhir:org.hl7.fhir.validation |
0 | 6.9.4.2 |
unbounded |
ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli |
0 | 6.9.4.2 |
unbounded |
Products and versions
8 products, 16 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | ca.uhn.hapi.fhir | org.hl7.fhir.dstu2 | generic | < 6.9.4.2 · ≥ 6.9.5 and < 6.9.9 |
| osv | ca.uhn.hapi.fhir | org.hl7.fhir.dstu2016may | generic | < 6.9.4.2 · ≥ 6.9.5 and < 6.9.9 |
| osv | ca.uhn.hapi.fhir | org.hl7.fhir.dstu3 | generic | < 6.9.4.2 · ≥ 6.9.5 and < 6.9.9 |
| osv | ca.uhn.hapi.fhir | org.hl7.fhir.r4 | generic | < 6.9.4.2 · ≥ 6.9.5 and < 6.9.9 |
| osv | ca.uhn.hapi.fhir | org.hl7.fhir.r4b | generic | < 6.9.4.2 · ≥ 6.9.5 and < 6.9.9 |
| osv | ca.uhn.hapi.fhir | org.hl7.fhir.r5 | generic | < 6.9.4.2 · ≥ 6.9.5 and < 6.9.9 |
| osv | ca.uhn.hapi.fhir | org.hl7.fhir.validation | generic | < 6.9.4.2 · ≥ 6.9.5 and < 6.9.9 |
| osv | ca.uhn.hapi.fhir | org.hl7.fhir.validation.cli | generic | < 6.9.4.2 · ≥ 6.9.5 and < 6.9.9 |
References
Timeline
Timeline
| Published | 2026-07-17 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-10-24 | NVD's own last-modified date for this record. |