{"cve":"CVE-2026-49485","nvd":{"published":"2026-07-17T22:17:16.893","modified":"2026-10-24T20:10:00.137","status":"Awaiting Analysis","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400","CWE-1333"],"references":["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"],"products":[],"source":"nvd","synced_at":"2026-10-25T17:50:08.599881581+00:00"},"epss":{"cve":"CVE-2026-49485","score":0.00684,"percentile":0.52297,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-7cmj-v6x8-frvv","url":"https://osv.dev/vulnerability/GHSA-7cmj-v6x8-frvv","summary":"org.hl7.fhir.core: ReDoS via FHIRPath matches()/replaceMatches() in FHIR Validator HTTP Endpoint","modified":"2026-07-09T14:11:38.736020Z","packages":[{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.dstu2","ranges":[">=6.9.5 <6.9.9"],"fixed":["6.9.9"]},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.dstu2016may","ranges":[">=6.9.5 <6.9.9"],"fixed":["6.9.9"]},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu3","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.dstu3","ranges":[">=6.9.5 <6.9.9"],"fixed":["6.9.9"]},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.r4","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.r4","ranges":[">=6.9.5 <6.9.9"],"fixed":["6.9.9"]},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.r4b","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.r4b","ranges":[">=6.9.5 <6.9.9"],"fixed":["6.9.9"]},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.r5","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.r5","ranges":[">=6.9.5 <6.9.9"],"fixed":["6.9.9"]},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.validation","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.validation","ranges":[">=6.9.5 <6.9.9"],"fixed":["6.9.9"]},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.validation.cli","ranges":[">=6.9.5 <6.9.9"],"fixed":["6.9.9"]},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.dstu2","ranges":["<6.9.4.2"],"fixed":["6.9.4.2"]},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.dstu2016may","ranges":["<6.9.4.2"],"fixed":["6.9.4.2"]},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu3","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.dstu3","ranges":["<6.9.4.2"],"fixed":["6.9.4.2"]},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.r4","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.r4","ranges":["<6.9.4.2"],"fixed":["6.9.4.2"]},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.r4b","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.r4b","ranges":["<6.9.4.2"],"fixed":["6.9.4.2"]},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.r5","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.r5","ranges":["<6.9.4.2"],"fixed":["6.9.4.2"]},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.validation","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.validation","ranges":["<6.9.4.2"],"fixed":["6.9.4.2"]},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.validation.cli","ranges":["<6.9.4.2"],"fixed":["6.9.4.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}