cve.bz

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

7.5 highEPSS 0.6%Fix available

High (7.5) in hapifhir org.hl7.fhir.core. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in ca.uhn.hapi.fhir:org.hl7.fhir.r5 6.9.12.

On this page
HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to version 6.9.12, SHCParser in org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/SHCParser.java can enter an infinite loop while processing attacker-controlled Smart Health Card JWT content whose header contains zip: "DEF" and whose raw-DEFLATE payload is empty or truncated. SHCParser.decodeJWT() reaches SHCParser.inflate(), where Inflater.inflate() can return zero while Inflater.finished() remains false and Inflater.needsInput() is true. The loop also lacks an Inflater.needsDictionary() termination check, SHCParser.decompress() contains the same zero-progress pattern, and ResourceChecker.java can reach SHC parsing during file-format detection. A malformed validation request can pin a JVM worker thread indefinitely, and concurrent requests can exhaust all validation workers. This issue is fixed in version 6.9.12.

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.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 51st percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-09-17. 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-20 Improper Input Validation
CWE-400 Uncontrolled Resource Consumption
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven): fixed in 6.9.12
  • ca.uhn.hapi.fhir:org.hl7.fhir.validation (Maven): fixed in 6.9.12
  • ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli (Maven): fixed in 6.9.12

Ask an AI about this CVE

Show the promptExplain CVE-2026-81876 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-81876?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-81876?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-81876 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.12

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gq9c-wmrm-5hvrMavenca.uhn.hapi.fhir:org.hl7.fhir.r5<6.9.126.9.12
GHSA-gq9c-wmrm-5hvrMavenca.uhn.hapi.fhir:org.hl7.fhir.validation<6.9.126.9.12
GHSA-gq9c-wmrm-5hvrMavenca.uhn.hapi.fhir:org.hl7.fhir.validation.cli<6.9.126.9.12

Attack patterns (CAPEC)

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

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON