Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft SHC JWT with zip:DEF DEFLATE bomb
-
ExploitSubmit to FHIR validator/app endpoint
-
ExecutionSHCParser.inflate() buffers unbounded output
-
ImpactHeap exhaustion and process termination
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 application or validator built on org.hl7.fhir.core (versions prior to 6.9.12) accepts attacker-supplied Smart Health Card content and routes it through SHCParser - i.e., an exposed SHC/JWT parsing or validation path. The malicious input must be a JWT whose header declares zip:"DEF" (DEFLATE compression) with a compact raw-DEFLATE payload that expands to a very large size. No authentication or user interaction is indicated by the CVSS vector (PR:N/UI:N). The primary limiting factor is reachability: if the FHIR service does not expose SHC parsing to untrusted callers, the network attack surface is effectively absent. The fix in 6.9.12 imposes an output-size limit on decompression. |
| Impact | This is a genuine but bounded denial-of-service issue, not a high-impact compromise despite the 7.5 'High' rating. The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) correctly reflects a pure availability impact - confidentiality and integrity are both N - driven entirely by a DEFLATE decompression bomb (zip:"DEF" header, small raw-DEFLATE payload expanding to a very large size) that SHCParser.inflate()/decompress() accumulate into an unbounded ByteArrayOutputStream, causing heap exhaustion and possible process termination. No EPSS score, no CISA KEV listing, and no public exploit were provided in the input, so exploitation is theoretical at time of analysis. The AV:N/PR:N combination assumes the deployment actually exposes an endpoint (a validator or application) that accepts attacker-supplied Smart Health Card content and routes it through SHCParser; where that path is not exposed, real-world exposure drops substantially. Note the input Tag 'Information Disclosure' conflicts with the CVSS vector, which shows C:N/I:N - this is a DoS bug, not an information-disclosure bug; treat the tag as erroneous. Overall: a real patch-worthy availability flaw, but lower operational priority than the CVSS number alone suggests, and heavily dependent on whether SHC parsing is reachable by untrusted input. |
| Exploit ScenarioDerived | An attacker submits a crafted Smart Health Card JWT - with a header specifying zip:"DEF" and a tiny raw-DEFLATE payload engineered to expand to gigabytes - to a HAPI FHIR-based validator or application endpoint that accepts SHC content. SHCParser.decodeJWT() hands the payload to inflate(), which buffers all decompressed bytes with no size cap, exhausting the JVM heap and driving the process into severe GC pressure, request failure, or termination. No public exploit code was identified in the provided intelligence. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 16, 2026
Unbounded DEFLATE decompression in HAPI FHIR's SHCParser (org.hl7.fhir.core prior to 6.9.12) allows an unauthenticated remote attacker to exhaust heap memory by submitting a small Smart Health Card JWT whose header sets zip:"DEF" and whose compressed payload inflates to an arbitrarily large size, resulting in severe garbage-collection pressure, request failure, process instability, or process termination. The issue is confined to the decompression path in SHCParser.decodeJWT(), SHCParser.inflate() and SHCParser.decompress(), which accumulate all output in a ByteArrayOutputStream before any size check occurs; no public exploit code was identified at time of analysis and the flaw is not confirmed actively exploited (CISA KEV), though no EPSS estimate was supplied in the source data. The practical exposure is bounded by reachability: any application, validator service, or API endpoint built on org.hl7.fhir.core that accepts attacker-supplied SHC/JWT content and routes it through SHCParser before 6.9.12 is affected, while deployments that never expose SHC parsing to untrusted callers have effectively no network attack surface.
RemediationAI
Vendor-released patch: 6.9.12 - upgrade org.hl7.fhir.core (HAPI FHIR core) to version 6.9.12 or later, as published at https://github.com/hapifhir/org.hl7.fhir.core/releases/tag/6.9.12, where the decompression path is given an output-size limit; the underlying change is in PR #2493 (commit fbb94216e0ad21ded75be77e5e20242ba194e83f) and the advisory at https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-3w98-rrpr-fprr should be used to drive internal tracking. Where immediate upgrade is not feasible, compensating controls must target reachability and memory, not the parser itself: block or restrict the SHC/JWT validation endpoint to trusted networks or authenticated clients, since the CVSS vector shows PR:N/UI:N and any unauthenticated caller who can reach that endpoint can trigger the allocation; the trade-off is loss of public SHC verification functionality. Enforce a strict request-body size limit at the reverse proxy or servlet container (for example, cap JWT input at a few kilobytes, well below the compression ratio needed to exhaust the heap), accepting that legitimate large credential bundles may be rejected. Run the validator with a hard JVM maximum heap and enable the JVM's OutOfMemoryError exit behavior together with an aggressive container restart policy and per-request timeouts so that a successful bomb causes a bounded, recoverable restart rather than host-wide memory pressure; this reduces blast radius but does not eliminate the denial of service. Cap concurrent SHC parsing requests with a semaphore or connection limit so a single attacker cannot parallelize the allocation, at the cost of reduced throughput under legitimate load. Note that no public exploit code was identified at time of analysis, so these controls are precautionary rather than incident-driven.
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
Smart Health Cards (SHC) are signed, compressed FHIR credential bundles transported as JWTs, and HAPI FHIR's SHCParser in org.hl7.fhir.r5 (org.hl7.fhir.core) acts as a validator that decodes the JWT, inflates the compressed payload, parses the nested JSON bundle, and validates it. This CVE is classified as CWE-20 (improper input validation) and stems from the library trusting the JWT header's zip:"DEF" declaration without validating the resulting expansion: SHCParser.decodeJWT() hands the decoded payload to SHCParser.inflate(), which writes every decompressed byte into an in-memory ByteArrayOutputStream with no maximum output-size limit before the JSON parser is invoked, and SHCParser.decompress() implements the same unbounded accumulation pattern. The attacker-controlled input needs only a compact raw-DEFLATE stream that expands to a very large value, which is the classic decompression/zip-bomb shape: a few kilobytes of network traffic translated into orders of magnitude more heap. The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H confirms a remotely reachable, low-complexity, unauthenticated attack with no user interaction that affects only availability (no confidentiality or integrity impact, unchanged scope), which is consistent with the root cause being memory exhaustion within a single process rather than memory corruption or data exposure. The CPE cpe:2.3:a:hapifhir:org.hl7.fhir.core:*:*:*:*:*:*:*:* tracks the whole artifact family, so downstream applications that embed org.hl7.fhir.core (including any FHIR validator, gateway, or SHC verification service) inherit the vulnerable code path.
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
Remotely reachable DEFLATE decompression bomb needing no auth or interaction, with availability-only impact (heap exhaustion / process termination) and no confidentiality or integrity effect.
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 consume attacker-controlled Smart Health Card JWT content whose header contains zip: "DEF" and whose small raw-DEFLATE payload expands to a very large value. SHCParser.decodeJWT() passes the decoded payload to SHCParser.inflate(), which accumulates all decompressed bytes in a ByteArrayOutputStream without an output-size limit before JSON parsing, and SHCParser.decompress() contains the same unbounded pattern. An application or validator service that accepts attacker-supplied SHC content can therefore suffer excessive heap allocation, severe garbage-collection pressure, request failure, process instability, or process termination. This issue is fixed in version 6.9.12.
Blast Radius
ecosystem impact- 102 maven packages depend on ca.uhn.hapi.fhir:org.hl7.fhir.r5 (7 direct, 95 indirect)
- 87 maven packages depend on ca.uhn.hapi.fhir:org.hl7.fhir.validation (4 direct, 83 indirect)
Ecosystem-wide dependent count for version 6.9.12 and other introduced versions.
Technical POC Analysis
Unbounded decompression (CWE-20 as scored, with the advisory also listing CWE-400 and CWE-409).
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 flaw in HAPI FHIR's Smart Health Card parsing component can let attackers crash or destabilize FHIR services, creating availability risk for clinical data exchange, partner integrations, and internal validation workflows. The affected library is org.hl7.fhir.core prior to 6.9.12, and no vendor-released patch was identified at time of analysis. Leadership should prioritize exposure reduction because any internet-facing validator or API endpoint that accepts external SHC/JWT content could be disrupted until mitigations are in place.
No vendor-released patch identified at time of analysis; interim mitigations include blocking or restricting endpoints that accept external SHC/JWT content, rejecting JWT headers with zip:'DEF', enforcing strict compressed and decompressed size limits before SHCParser.decodeJWT/inflate/decompress, capping JVM heap and enabling heap/GC alerts, and using WAF/API gateway rules to drop oversized or malformed JWT payloads.
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
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-80993
GHSA-3w98-rrpr-fprr
NVD
CVE.org
EPSS
Exploit-DB