CVE-2026-49485HAPI FHIR: ReDoS via FHIRPath matches()/replaceMatches() in FHIR Validator HTTP Endpoint
Updated under an hour ago ()
Does this affect you?
It affects hapifhir org.hl7.fhir.core. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.68%, higher than 52% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weakness (CWE)
- CWE-1333, CWE-400
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.68% (percentile 52)
- Assigned by
- GitHub_M
- NVD analysis
- Awaiting Analysis
- Record last updated
- Jul 20, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
hapifhir org.hl7.fhir.core hapifhir:org.hl7.fhir.core (from the name) | before 6.9.4.2; from 6.9.5, < 6.9.9 | CNA record |
References
- https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-7cmj-v6x8-frvvx-refsource-confirm
- https://github.com/hapifhir/org.hl7.fhir.core/pull/2463x-refsource-misc
- https://github.com/hapifhir/org.hl7.fhir.core/commit/109c88837c032ef399b2eb87ddde86692065cf41x-refsource-misc
- https://github.com/hapifhir/org.hl7.fhir.core/commit/e08982d2b6f6dcd6c670a762d9cf999179fbe4edx-refsource-misc
- https://github.com/hapifhir/org.hl7.fhir.core/releases/tag/6.9.4.2x-refsource-misc
- https://github.com/hapifhir/org.hl7.fhir.core/releases/tag/6.9.9x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.