Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCraft minimally-sized, deeply nested JSON payload
-
DeliverySubmit via HTTP POST to FHIR validation or ingestion endpoint
-
ExploitJsonParser enters unbounded readArray/readObject recursion
-
InstallJVM thread stack exhausted, StackOverflowError raised
-
C2Worker thread crashes
-
ExecuteRepeated requests exhaust thread pool
-
ImpactService denial-of-service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | The target service must expose an endpoint that passes attacker-controlled JSON input to org.hl7.fhir.utilities.json.parser.JsonParser - this includes any FHIR $validate operation, resource creation or update endpoint, or any internal pipeline that calls JsonParser.parseObject() or JsonParser.parseObjectFromFile() on untrusted content. Per the CVSS vector PR:N, no authentication is required at the library level, though individual deployments may place authentication in front of FHIR endpoints. The vulnerability fires before FHIR structural validation, so the payload does not need to be a valid FHIR resource - only syntactically valid JSON. Exploitation is limited to services running org.hl7.fhir.core versions prior to 6.9.11; JVM thread stack size configuration and application-level StackOverflowError handling affect whether the crash is contained to a single thread or causes broader process instability. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H scores 7.5 High and is well-supported by the description: the parser is reachable over the network, requires no authentication, needs no user interaction, and produces a hard availability impact. The scope is unchanged (S:U), meaning impact is confined to the vulnerable component's process - consistent with a thread crash rather than full system compromise. No EPSS score was provided in the input, and the vulnerability is not listed in CISA KEV, so exploitation probability cannot be quantified from scoring data. No public proof-of-concept is identified, though the attack payload is trivially constructable (a loop appending '[' characters to a JSON string, as demonstrated in the added unit tests). Real-world risk is moderate-to-high for any healthcare backend that exposes FHIR validation endpoints without authentication; the attack is low-complexity and the payload is small (a few kilobytes suffices). Organizations using HAPI FHIR behind an authenticated API gateway or with strict input size/depth pre-filtering face reduced practical risk. The fix is available and straightforward to apply, making unpatched exposure the primary risk driver. |
| Exploit ScenarioDerived | An attacker sends an HTTP POST request containing a crafted JSON body - for example, a FHIR Patient resource where a field value is wrapped in 600 or more nested JSON arrays (e.g., {"x": [[[...0...]]]}) - to any publicly accessible FHIR $validate endpoint or resource ingestion endpoint backed by HAPI FHIR prior to 6.9.11. The JsonParser's readArray() and readObject() methods call each other recursively with no depth ceiling, exhausting the JVM thread stack within milliseconds and raising a StackOverflowError that is typically not caught by application exception handlers, crashing the worker thread. Repeated requests can exhaust the thread pool, resulting in service unavailability. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 07, 2026
Unbounded recursive JSON parsing in HAPI FHIR's org.hl7.fhir.utilities.json.parser.JsonParser (versions prior to 6.9.11) allows unauthenticated remote attackers to crash JVM worker threads by submitting a syntactically valid but deeply nested FHIR JSON document. The mutual recursion between readObject() and readArray() carries no depth counter, so a document with as few as ~600 nesting levels exhausts the thread stack and raises a StackOverflowError before structural FHIR validation runs - any service that does not isolate StackOverflowError may lose the worker thread or destabilize the process entirely. No public exploit code or CISA KEV listing has been identified at time of analysis, but the CVSS 7.5 (AV:N/AC:L/PR:N/UI:N) rating reflects that exploitation requires no authentication and minimal complexity against any exposed FHIR validation endpoint.
RemediationAI
Upgrade org.hl7.fhir.core to version 6.9.11 or later. The fix is confirmed in commit 396f447500407693d6ae1e64db59782862ca7506 (https://github.com/hapifhir/org.hl7.fhir.core/commit/396f447500407693d6ae1e64db59782862ca7506) and the security advisory at GHSA-2cq7-hg49-56gc. If an immediate upgrade is not possible, a targeted workaround is to enforce a maximum request body depth or size at the API gateway or servlet filter layer before the HAPI FHIR parser is invoked - for example, rejecting requests whose JSON body exceeds a conservative byte threshold (e.g., 1MB) or pre-parsing with a depth-limited JSON library to reject deeply nested payloads. Note that byte-size limits alone are insufficient, as a deeply nested document with minimal values can be very compact; explicit nesting depth checks are needed. Restricting FHIR validation endpoints to authenticated and authorized callers reduces the attack surface but does not eliminate it if insider or compromised-credential scenarios are in scope.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 5 packages in 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 dominant Java implementation of the HL7 FHIR healthcare interoperability standard. The affected component is org.hl7.fhir.utilities.json.parser.JsonParser, a hand-written recursive-descent JSON parser used to parse and validate FHIR resources before structural validation. The root cause (CWE-20, Improper Input Validation) is the absence of any depth counter in the mutual recursion between readObject() and readArray(): each nesting level consumes a JVM stack frame, and because the JVM has a fixed thread stack size (typically 512KB-1MB), roughly 500-1000 recursive calls exhaust it regardless of heap availability. The commit also patches an identical recursion hazard in XhtmlParser (FHIR narrative parsing) and adds a JAXP jdk.xml.maxElementDepth bound to XMLUtil, indicating the nesting-without-limit pattern was systemic. The fix introduces a static MAX_JSON_DEPTH = 500 field and a parseDepth counter that is incremented at each readObject/readArray entry and decremented in a finally block, throwing a structured JsonException on breach rather than allowing the JVM to raise StackOverflowError.
Know when the next one hits your stack
- 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
Network-reachable parser accepts attacker input with no authentication; attack requires no user interaction; impact is exclusively availability via thread crash, with no confidentiality or integrity effect.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to 6.9.11, the JSON utility parser in org.hl7.fhir.utilities.json.parser.JsonParser enforces no maximum nesting depth for arrays or objects. As a result, a small but deeply nested, syntactically valid FHIR JSON document can trigger unbounded readArray() or readObject() recursion, raising a StackOverflowError before structural validation runs. An attacker who can submit JSON resources for validation can thus crash the request thread, and services that do not isolate StackOverflowError safely may experience worker loss or process instability - a denial-of-service condition. This issue is fixed in version 6.9.11.
Executive ViewAI
HAPI FHIR versions prior to 6.9.11 contain a vulnerability allowing unauthenticated remote attackers to crash the application's JVM by submitting deeply nested FHIR JSON documents, disrupting healthcare data processing and clinical services. Organizations using this widely-deployed library face immediate risk of service outages if their systems accept FHIR JSON validation requests from untrusted networks.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement JSON nesting depth validation-reject documents exceeding 100-150 levels; (2) Enforce strict request size limits (2-5 MB maximum); (3) Configure application thread pools to isolate parser failures and prevent cascading process crashes; (4) Enable real-time alerting on StackOverflowError exceptions; (5) Deploy API gateway or WAF rules to pre-filter malformed FHIR JSON; (6) Restrict FHIR validation endpoints to trusted internal networks only if external exposure is not required; (7) Maintain JVM memory and thread pool monitoring to detect early signs of recursive parser exhaustion.
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.
EUVD-2026-54639
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB