cve.bz

CVE-2026-49485 hapifhir org.hl7.fhir.core: Uncontrolled Resource Consumption

7.5 highEPSS 0.7%Fix available

High (7.5) in hapifhir org.hl7.fhir.core. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 6.9.4.2, 6.9.9.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 53rd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-07-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (Maven): fixed in 6.9.9, 6.9.4.2
  • ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven): fixed in 6.9.9, 6.9.4.2
  • ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven): fixed in 6.9.9, 6.9.4.2
  • ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven): fixed in 6.9.9, 6.9.4.2
  • ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven): fixed in 6.9.9, 6.9.4.2
  • ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven): fixed in 6.9.9, 6.9.4.2
  • ca.uhn.hapi.fhir:org.hl7.fhir.validation (Maven): fixed in 6.9.9, 6.9.4.2
  • ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli (Maven): fixed in 6.9.9, 6.9.4.2

Ask an AI about this CVE

Show the promptExplain CVE-2026-49485 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-49485?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-49485?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-49485 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
hapifhir org.hl7.fhir.core< 6.9.4.2
hapifhir org.hl7.fhir.core>= 6.9.5, < 6.9.9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7cmj-v6x8-frvvMavenca.uhn.hapi.fhir:org.hl7.fhir.dstu2>=6.9.5 <6.9.96.9.9
GHSA-7cmj-v6x8-frvvMavenca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may>=6.9.5 <6.9.96.9.9
GHSA-7cmj-v6x8-frvvMavenca.uhn.hapi.fhir:org.hl7.fhir.dstu3>=6.9.5 <6.9.96.9.9
GHSA-7cmj-v6x8-frvvMavenca.uhn.hapi.fhir:org.hl7.fhir.r4>=6.9.5 <6.9.96.9.9
GHSA-7cmj-v6x8-frvvMavenca.uhn.hapi.fhir:org.hl7.fhir.r4b>=6.9.5 <6.9.96.9.9
GHSA-7cmj-v6x8-frvvMavenca.uhn.hapi.fhir:org.hl7.fhir.r5>=6.9.5 <6.9.96.9.9
GHSA-7cmj-v6x8-frvvMavenca.uhn.hapi.fhir:org.hl7.fhir.validation>=6.9.5 <6.9.96.9.9
GHSA-7cmj-v6x8-frvvMavenca.uhn.hapi.fhir:org.hl7.fhir.validation.cli>=6.9.5 <6.9.96.9.9
GHSA-7cmj-v6x8-frvvMavenca.uhn.hapi.fhir:org.hl7.fhir.dstu2<6.9.4.26.9.4.2
GHSA-7cmj-v6x8-frvvMavenca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may<6.9.4.26.9.4.2
GHSA-7cmj-v6x8-frvvMavenca.uhn.hapi.fhir:org.hl7.fhir.dstu3<6.9.4.26.9.4.2
GHSA-7cmj-v6x8-frvvMavenca.uhn.hapi.fhir:org.hl7.fhir.r4<6.9.4.26.9.4.2
GHSA-7cmj-v6x8-frvvMavenca.uhn.hapi.fhir:org.hl7.fhir.r4b<6.9.4.26.9.4.2
GHSA-7cmj-v6x8-frvvMavenca.uhn.hapi.fhir:org.hl7.fhir.r5<6.9.4.26.9.4.2
GHSA-7cmj-v6x8-frvvMavenca.uhn.hapi.fhir:org.hl7.fhir.validation<6.9.4.26.9.4.2
GHSA-7cmj-v6x8-frvvMavenca.uhn.hapi.fhir:org.hl7.fhir.validation.cli<6.9.4.26.9.4.2

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as having an Important severity because an unauthenticated remote attacker can trigger significant denial of service with minimal attack complexity. Red Hat environments utilizing integration products such as Red Hat build of Apache Camel or Red Hat JBoss Fuse are affected if they process untrusted FHIR resources through the FHIRPath engine. The flaw is confined to resource exhaustion and service unavailability, with no direct loss of data confidentiality or integrity.

ProductPackageStateAdvisory
Red Hat build of Apache Camel 4 for Quarkus 3org.hl7.fhir.dstu2Affected
Red Hat build of Apache Camel 4 for Quarkus 3org.hl7.fhir.dstu2016mayAffected
Red Hat build of Apache Camel 4 for Quarkus 3org.hl7.fhir.dstu3Affected
Red Hat build of Apache Camel 4 for Quarkus 3org.hl7.fhir.r4Affected
Red Hat build of Apache Camel 4 for Quarkus 3org.hl7.fhir.r5Affected
Red Hat Fuse 7org.hl7.fhir.dstu2Fix deferred
Red Hat Fuse 7org.hl7.fhir.dstu2016mayFix deferred
Red Hat Fuse 7org.hl7.fhir.dstu3Fix deferred
Red Hat Fuse 7org.hl7.fhir.r4Fix deferred
Red Hat Fuse 7org.hl7.fhir.r5Fix deferred
Red Hat Fuse 7org.hl7.fhir.validationFix deferred
Red Hat Fuse 7org.hl7.fhir.validation.cliFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-49485.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup
  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON