Skip to main content

HAPI FHIR EUVDEUVD-2026-80993

| CVE-2026-81875 HIGH
Improper Input Validation (CWE-20)
2026-09-16 GitHub_M GHSA-3w98-rrpr-fprr
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft SHC JWT with zip:DEF DEFLATE bomb
  2. Exploit
    Submit to FHIR validator/app endpoint
  3. Execution
    SHCParser.inflate() buffers unbounded output
  4. Impact
    Heap 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

org.hl7.fhir.core < 6.9.12

Affected Packages

maven ca.uhn.hapi.fhir:org.hl7.fhir.r5 fix: 6.9.12
maven ca.uhn.hapi.fhir:org.hl7.fhir.validation fix: 6.9.12
maven ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli no fix
euvd org_hl7_fhir_core fix: 6.9.12

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

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Remotely reachable DEFLATE decompression bomb needing no auth or interaction, with availability-only impact (heap exhaustion / process termination) and no confidentiality or integrity effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Sep 16, 2026 - 20:18 EUVD
CVE Published
Sep 16, 2026 - 18:44 cve.org
HIGH 7.5

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.6%
Top 51% exploitable
Prevalence
Medium
popular Java FHIR reference implementation, but scoped to healthcare-interoperability software
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

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

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy