REDHAT-BUG-2498308: High severity Hapi HAPI FHIR vulnerability

Published Jul 8, 2026
·
Updated

HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to 6.9.10, the fix for CVE-2026-45367 incompletely patched the DSTU2 module, leaving FHIRPathEngine.matches() in org.hl7.fhir.dstu2/utils/FHIRPathEngine.java to call raw String.matches(sw) without RegexTimeout protection while replaceMatches() was updated, allowing an unauthenticated attacker to trigger catastrophic regex backtracking and exhaust server CPU. This issue is fixed in version 6.9.10.

Affected Software

1 affected component
Hapi HAPI FHIR<6.9.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade HAPI FHIR to a version that resolves this vulnerability.

    Fixed in 6.9.10Patch CVE-2026-45367

Event History

Jul 8, 2026
Data Sourced
via Red Hat·10:03 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are affected?

HAPI FHIR versions earlier than 6.9.10 are affected where the DSTU2 module is in use. The issue is in DSTU2's FHIRPathEngine.matches() implementation.

2

Does exploitation require authentication?

No. The issue can be triggered by an unauthenticated attacker, resulting in catastrophic regular-expression backtracking and server CPU exhaustion.

3

How can I determine whether an instance needs remediation?

Check the deployed HAPI FHIR version and whether the DSTU2 module is used. Instances running a version earlier than 6.9.10 should be treated as affected.

4

What version contains the fix?

The issue is fixed in HAPI FHIR version 6.9.10.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203