{"id":"CVE-2026-45367","aliases":["GHSA-3653-68v6-rq57"],"url":"https://o3.security/vulnerability/CVE-2026-45367","summary":"HAPI FHIR: ReDoS via FHIRPath matches()/replaceMatches() in FHIR Validator HTTP Endpoint","details":"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.","published":"2026-07-16T16:52:04.901Z","modified":"2026-08-12T16:24:36.339348Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":{"score":0.00489,"percentile":0.39762,"asOf":"2026-08-14"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2","fixedVersion":"6.9.7"},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may","fixedVersion":"6.9.7"},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu3","fixedVersion":"6.9.7"},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.r4","fixedVersion":"6.9.7"},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.r4b","fixedVersion":"6.9.7"},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.r5","fixedVersion":"6.9.7"},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.validation","fixedVersion":"6.9.7"},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli","fixedVersion":"6.9.7"}],"fix":{"url":"https://github.com/hapifhir/org.hl7.fhir.core/commit/275d015c680ce9f90cbe285596e50118e472bf24","label":"hapifhir/org.hl7.fhir.core@275d015"},"references":[{"type":"WEB","url":"https://github.com/hapifhir/org.hl7.fhir.core/releases/tag/6.9.7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45367.json"},{"type":"ADVISORY","url":"https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-3653-68v6-rq57"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45367"},{"type":"FIX","url":"https://github.com/hapifhir/org.hl7.fhir.core/commit/275d015c680ce9f90cbe285596e50118e472bf24"},{"type":"FIX","url":"https://github.com/hapifhir/org.hl7.fhir.core/commit/e08982d2b6f6dcd6c670a762d9cf999179fbe4ed"},{"type":"FIX","url":"https://github.com/hapifhir/org.hl7.fhir.core/pull/2403"},{"type":"FIX","url":"https://github.com/hapifhir/org.hl7.fhir.core/pull/2463"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T16:24:36.339348Z"}}