CVE-2026-55470

HIGHPre-NVD 7.57.5
EchelonGraph scoreLOW confidence

This high-severity CVE scores 7.5 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: cna:github_m
7.5
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: CVSS: 7.5Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

HAPI FHIR: Incomplete fix for CVE-2026-45367: DSTU2 FHIRPathEngine.matches() missing RegexTimeout protection allows ReDoS

Summary

The fix for CVE-2026-45367 added RegexTimeout protection to the matches() function in DSTU2016MAY, DSTU3, R4, R4B, and R5, but the DSTU2 module was incompletely patched. In org.hl7.fhir.dstu2, replaceMatches() was updated while matches() at line 2462 still calls the raw String.matches(sw) without any timeout, allowing an unauthenticated attacker to trigger catastrophic regex backtracking and exhaust server CPU.

Details

Incomplete patch

Within the same file (org.hl7.fhir.dstu2/utils/FHIRPathEngine.java), the two functions were patched inconsistently:

Line 2226 — replaceMatches() — PATCHED:

result.add(new StringType(
    RegexTimeout.replaceAll(
        convertToString(focus.get(0)), regex, repl, regexTimeoutMillis)));

Line 2462 — matches() — NOT PATCHED:

result.add(new BooleanType(
    convertToString(focus.get(0)).matches(sw)));
// ↑ raw String.matches() — no RegexTimeout, no complexity check

DSTU3 line 2447 — matches() — PATCHED (for comparison):

result.add(new BooleanType(
    RegexTimeout.matches(st, sw, regexTimeoutMillis)));

Module-by-module status

| Module | matches() | replaceMatches() | |---|---|---| | DSTU2 | ❌ raw str.matches(sw) | ✅ RegexTimeout.replaceAll() | | DSTU2016MAY | ✅ RegexTimeout.matches() | ✅ | | DSTU3 | ✅ RegexTimeout.matches() | ✅ | | R4 | ✅ RegexTimeout.matches() | ✅ | | R4B | ✅ RegexTimeout.matches() | ✅ | | R5 | ✅ RegexTimeout.matches() | ✅ |

PoC

Requirements: Java 17+, Maven 3.8+

pom.xml dependencies:

ca.uhn.hapi.fhir
    org.hl7.fhir.utilities
    6.9.7

Test code (reproduces the exact behaviour of DSTU2 line 2462):

import org.hl7.fhir.utilities.regex.RegexTimeout;
import java.util.concurrent.*;

String regex = "((a|b){0,5}){20}"; String input = "a".repeat(25) + "c"; // no match → full backtracking

// ① Patched approach — RegexTimeout terminates at 500 ms long t1 = System.currentTimeMillis(); try { RegexTimeout.matches(input, regex, 500); } catch (TimeoutException e) { System.out.println("RegexTimeout blocked in " + (System.currentTimeMillis() - t1) + " ms"); }

// ② DSTU2 line 2462 — raw String.matches(), no timeout long t2 = System.currentTimeMillis(); input.matches(regex); // equivalent to what FHIRPathEngine does System.out.println("str.matches() ran for " + (System.currentTimeMillis() - t2) + " ms with no timeout");

Verified output (JDK 25.0.3, Linux):

RegexTimeout blocked in 508 ms      ← patched modules: attack stopped
str.matches() ran for 1410 ms       ← DSTU2: no timeout, CPU exhausted

The patched approach cuts off the evaluation at 508 ms. The unpatched DSTU2 code runs for 1410 ms on this input with no mechanism to stop it. Longer inputs or more complex patterns produce proportionally worse results.

Impact

Vulnerability type: Regular Expression Denial of Service (ReDoS) causing CPU exhaustion and service disruption.

Who is impacted: Any application using the ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 module that evaluates user-supplied FHIRPath expressions — including the FHIR Validator HTTP endpoint, FHIR servers applying FHIRPath invariants from user-provided resources or profiles, and any system embedding FHIRPathEngine from the DSTU2 module. No authentication is required; an attacker needs only to submit a FHIR resource or FHIRPath expression whose matches() argument contains a catastrophically backtracking regular expression.

CVSS v3
7.5
EG Score
7.5(low)
EPSS
KEV
Not listed

Published

June 17, 2026

Last Modified

June 17, 2026

Vendor Advisories for CVE-2026-55470(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Affected Packages

(4 across 1 ecosystem)
Maven(4)
PackageVulnerable rangeFixed inDependents
ca.uhn.hapi.fhir:org.hl7.fhir.convertors0.0.1 ... 6.9.9 (391 versions)6.9.10
ca.uhn.hapi.fhir:org.hl7.fhir.dstu20.0.1 ... 6.9.9 (391 versions)6.9.10
ca.uhn.hapi.fhir:org.hl7.fhir.validation0.0.1 ... 6.9.9 (391 versions)6.9.10
ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli4.0.0 ... 5.0.0 (7 versions)6.9.10

Data Freshness Timeline

(refreshed 15× in last 7d / 41× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-07 03:08 UTCEG score recompute
  2. 2026-07-06 15:33 UTCEG score recompute
  3. 2026-07-06 03:36 UTCEG score recompute
  4. 2026-07-05 15:40 UTCEG score recompute
  5. 2026-07-05 04:10 UTCEG score recompute
  6. 2026-07-04 16:15 UTCEG score recompute
  7. 2026-07-04 04:41 UTCEG score recompute
  8. 2026-07-03 16:04 UTCEG score recompute
  9. 2026-07-03 04:34 UTCEG score recompute
  10. 2026-07-02 16:55 UTCEG score recompute
  11. 2026-07-02 05:25 UTCEG score recompute
  12. 2026-07-01 17:55 UTCEG score recompute
  13. 2026-07-01 06:26 UTCEG score recompute
  14. 2026-06-30 18:55 UTCEG score recompute
  15. 2026-06-30 07:25 UTCEG score recompute
  16. 2026-06-29 19:55 UTCEG score recompute
  17. 2026-06-29 08:26 UTCEG score recompute
  18. 2026-06-28 20:56 UTCEG score recompute
  19. 2026-06-28 09:26 UTCEG score recompute
  20. 2026-06-27 21:57 UTCEG score recompute
  21. 2026-06-27 10:27 UTCEG score recompute
  22. 2026-06-26 22:57 UTCEG score recompute
  23. 2026-06-26 11:28 UTCEG score recompute
  24. 2026-06-25 23:41 UTCEG score recompute
  25. 2026-06-25 12:11 UTCEG score recompute
Show 16 more
  1. 2026-06-25 00:39 UTCEG score recompute
  2. 2026-06-24 13:09 UTCEG score recompute
  3. 2026-06-24 01:38 UTCEG score recompute
  4. 2026-06-23 14:09 UTCEG score recompute
  5. 2026-06-23 02:08 UTCEG score recompute
  6. 2026-06-22 14:37 UTCEG score recompute
  7. 2026-06-22 03:05 UTCEG score recompute
  8. 2026-06-21 15:32 UTCEG score recompute
  9. 2026-06-21 03:57 UTCEG score recompute
  10. 2026-06-20 16:25 UTCEG score recompute
  11. 2026-06-20 04:53 UTCEG score recompute
  12. 2026-06-19 17:12 UTCEG score recompute
  13. 2026-06-19 05:39 UTCEG score recompute
  14. 2026-06-18 18:08 UTCEG score recompute
  15. 2026-06-18 06:37 UTCEG score recompute
  16. 2026-06-17 19:06 UTCEG score recompute

Frequently asked(4)

What is CVE-2026-55470?
CVE-2026-55470 is a high vulnerability published on June 17, 2026. HAPI FHIR: Incomplete fix for CVE-2026-45367: DSTU2 FHIRPathEngine.matches() missing RegexTimeout protection allows ReDoS Summary The fix for CVE-2026-45367 added RegexTimeout protection to the matches() function in DSTU2016MAY, DSTU3, R4, R4B, and R5, but the DSTU2 module was incompletely patched.…
When was CVE-2026-55470 disclosed?
CVE-2026-55470 was first published in the National Vulnerability Database on June 17, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
What is the CVSS score of CVE-2026-55470?
CVE-2026-55470 has a CVSS v4.0 base score of 7.5 (CNA self-assessment; NVD's own analysis pending). The EG score is currently aggregating — additional source signals are being incorporated as they become available..
How do I remediate CVE-2026-55470?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-55470, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-55470

Explore →

Is Your Infrastructure Affected by CVE-2026-55470?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.