Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach FHIR validation/detection endpoint
-
DeliverySubmit SHC JWT with zip:"DEF" empty/truncated DEFLATE
-
ExploitSHCParser.inflate() enters zero-progress loop
-
ExecutionJVM worker thread pinned indefinitely
-
PersistRepeat concurrently
-
ImpactExhaust all validation workers, service DoS
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires that the deployed service actually invokes HAPI FHIR's SHCParser on attacker-controlled input - i.e., an exposed FHIR validation endpoint (or a file-format detection path via ResourceChecker) that accepts and parses Smart Health Card JWT content. The specific trigger is a JWT whose header sets zip:"DEF" with a raw-DEFLATE payload that is empty or truncated, causing Inflater.inflate() to make zero progress while not finished. Limiting factors: the vulnerable version must be prior to 6.9.12, and the SHC/validation code path must be reachable from an attacker-facing interface - a library instance that never parses untrusted SHC content is not remotely exploitable despite the AV:N rating. No authentication or user interaction is required by the vendor vector (PR:N/UI:N). |
| Impact | This is a genuine but bounded availability-only risk. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5 HIGH) reflects a clean denial-of-service: no confidentiality or integrity impact, but a single malformed request can pin a JVM worker thread indefinitely, and concurrent requests can exhaust all validation workers (full service outage). The PR:N/UI:N/AC:L metrics are defensible IF the deployment exposes an endpoint that accepts and parses attacker-supplied Smart Health Card / validation content - the network vector is CONDITIONAL on the service invoking SHCParser (directly or via ResourceChecker's file-format detection) on untrusted input; a validator not exposed to attacker input would drop this toward local/limited reachability. No EPSS score, no CISA KEV listing, and no public POC were provided, so real-world exploitation is not indicated - but the trigger is trivial to construct (a JWT with header zip:"DEF" and an empty/truncated raw-DEFLATE payload), so absence of a POC is weak reassurance. The assigned CWE-20 (improper input validation) is generic; the true root cause is an infinite loop / uncontrolled resource consumption (CWE-835/CWE-400). Net: a real patch-worthy DoS for FHIR validation services, not a critical RCE-class emergency. |
| Exploit ScenarioDerived | An attacker submits a FHIR validation or resource-detection request containing a Smart Health Card JWT whose header specifies zip:"DEF" with an empty or truncated raw-DEFLATE payload. SHCParser.decodeJWT() calls inflate(), where Inflater.inflate() returns zero while finished() stays false and needsInput() stays true, spinning forever and pinning the worker thread; a handful of concurrent such requests exhaust all validation workers and take the service offline. No public exploit code was identified at time of analysis, but the malformed input is straightforward to craft. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 16, 2026
Denial of service in HAPI FHIR core (org.hl7.fhir.core) before 6.9.12: remote attackers who can reach an endpoint that parses Smart Health Card content can submit a JWT whose header declares zip:"DEF" with an empty or truncated raw-DEFLATE payload, driving SHCParser.decodeJWT() into a non-terminating Inflater loop that pins a JVM worker thread indefinitely. The trigger is unauthenticated and requires no user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5), and because each malformed request consumes a validation worker permanently, concurrent submissions can exhaust the entire worker pool and make legitimate FHIR validation unavailable. No public exploit code has been identified at time of analysis, and the risk is bounded: a deployment that never feeds untrusted Smart Health Card data into SHCParser (directly or through ResourceChecker file-format detection) is not remotely exploitable despite the network attack vector, with impact limited to availability only - no confidentiality or integrity loss.
RemediationAI
Vendor-released patch: upgrade org.hl7.fhir.core (and any HAPI FHIR distribution that depends on it) to version 6.9.12 or later, which is the fixed release referenced in the GitHub Security Advisory GHSA-gq9c-wmrm-5hvr; the upstream fix is also visible in pull request 2493 and commits d804558bd77372b1629e55a5b901cad3f5134cdc and edd5d8c139e669e39270785f08be7b63aefef24c. Because the fix is a released version, patch management is the primary control - audit dependency trees for transitive org.hl7.fhir.core versions and pin the minimum to 6.9.12. Where immediate upgrade is not possible, apply targeted compensating controls: if Smart Health Card validation is not a required feature, disable or unwire the SHC parsing entry point so no untrusted JWT reaches SHCParser (trade-off: SHC credential validation stops working entirely); if it is required, place the validation service behind an authenticating reverse proxy or network allowlist so only trusted partners can submit credentials (trade-off: unauthenticated public validation is lost, and callers must be re-credentialed). Also restrict access to any endpoint that runs ResourceChecker file-format detection on uploaded files, since that path reaches the same parser; harden worker pools by wrapping validation calls in external timeouts and isolating validation in a separate JVM or process that can be killed and recycled (trade-off: terminated requests produce client-visible errors and legitimate large bundles may be truncated, and timeouts must be tuned below the worker-pool size to avoid full exhaustion). Rate limiting and concurrency caps reduce the number of requests needed to exhaust workers but do not stop a single malformed request from pinning one thread permanently, so they should be treated as secondary mitigations only.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
HAPI FHIR is the reference Java implementation of the HL7 FHIR healthcare interoperability standard, and the affected artifact is the org.hl7.fhir.core library bundle (CPE cpe:2.3:a:hapifhir:org.hl7.fhir.core:*:*:*:*:*:*:*:*), specifically the org.hl7.fhir.r5 module. The vulnerable component, SHCParser, acts as a Smart Health Card (SHC) validator: it parses a JWT/JWS credential, assumes the payload contains a FHIR bundle, and validates it. SHC credentials follow the JWS convention of compressing the payload with DEFLATE and advertising this via the zip:"DEF" header, so the parser feeds the decoded bytes into java.util.zip.Inflater (raw DEFLATE, RFC 1951). The defect is an improper-input-validation (CWE-20) flaw in loop termination logic: Inflater.inflate() may return zero bytes while finished() is false and needsInput() is true (empty or truncated stream), and the loop has no needsDictionary() check to break out of that state, so it spins forever. The same zero-progress pattern appears in SHCParser.decompress(), and ResourceChecker.java can route untrusted files into SHC parsing during file-format detection, widening the reachable attack surface beyond an explicit SHC validation call. Nothing in the parsing pipeline bounds the loop by time, iteration count, or input size, so the CPU-bound spin is permanent from the JVM's perspective until the worker or process is restarted.
Know when Java gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Trivially crafted malformed SHC JWT causes an unauthenticated remote infinite loop exhausting validation workers; pure availability impact, no confidentiality or integrity effect, AV:N conditional on exposed SHC parsing.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
Bug class: CWE-835 (Loop with Unreachable Exit Condition) on an input-validation failure, catalogued by the advisory alongside CWE-20 and CWE-400.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
A high-severity denial-of-service vulnerability in HAPI FHIR core (org.hl7.fhir.core) lets an unauthenticated remote party permanently consume JVM validation worker threads by submitting a crafted Smart Health Card token, potentially exhausting the worker pool and taking FHIR validation offline for legitimate users. Any organization running an internet- or partner-reachable FHIR validation or Smart Health Card ingestion endpoint should treat this as an availability risk to clinical data exchange and to downstream applications that depend on validation. Exposure is bounded to environments that feed untrusted Smart Health Card content into SHCParser (directly or through ResourceChecker file-format detection), and no public exploit code has been identified at time of analysis.
No vendor-released patch identified at time of analysis. Interim mitigations: disable or network-isolate Smart Health Card parsing and FHIR validation endpoints that do not require untrusted input; block or reject requests carrying a JWT header declaring zip:"DEF" with an empty or truncated payload at the WAF or reverse proxy; enforce strict decompression/inflater limits, request timeouts, and bounded thread pools so a stalled decode cannot occupy a worker permanently; cap concurrent validation requests globally and per client; and alert on worker-pool saturation or non-terminating validation requests. No public exploit identified at time of analysis.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-80998
GHSA-gq9c-wmrm-5hvr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB