{"id":"CVE-2026-81876","published":"2026-09-16T18:48:05Z","modified":"2026-09-17T14:02:56Z","title":"HAPI FHIR: SHCParser DEFLATE infinite loop causes denial of service","vendor":"hapifhir","product":"org.hl7.fhir.core","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0063,"percentile":0.44591,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-gq9c-wmrm-5hvr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/hapifhir/org.hl7.fhir.core/pull/2493","tags":["x_refsource_MISC"]},{"url":"https://github.com/hapifhir/org.hl7.fhir.core/commit/d804558bd77372b1629e55a5b901cad3f5134cdc","tags":["x_refsource_MISC"]},{"url":"https://github.com/hapifhir/org.hl7.fhir.core/commit/edd5d8c139e669e39270785f08be7b63aefef24c","tags":["x_refsource_MISC"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":8.92},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"hapifhir","affectedVersions":[{"vendor":"hapifhir","product":"org.hl7.fhir.core","versions":["< 6.9.12"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-17T14:02:49.214501Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"ca.uhn.hapi.fhir:org.hl7.fhir.r5","vulnerableRanges":["<6.9.12"],"patched":["6.9.12"],"from":["GHSA-gq9c-wmrm-5hvr"],"provenance":"source"},{"ecosystem":"Maven","package":"ca.uhn.hapi.fhir:org.hl7.fhir.validation","vulnerableRanges":["<6.9.12"],"patched":["6.9.12"],"from":["GHSA-gq9c-wmrm-5hvr"],"provenance":"source"},{"ecosystem":"Maven","package":"ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli","vulnerableRanges":["<6.9.12"],"patched":["6.9.12"],"from":["GHSA-gq9c-wmrm-5hvr"],"provenance":"source"}],"summary":{"text":"HAPI FHIR's org.hl7.fhir.core product, in the SHCParser component used to parse Smart Health Card JWTs, can enter an infinite loop when processing a card whose header declares DEFLATE compression but whose payload is empty or truncated. An attacker who can submit crafted Smart Health Card content over the network, with no authentication or user interaction required, can pin a JVM worker thread indefinitely and, through concurrent requests, exhaust the validation workers to cause a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:57Z"},"euvd":{"id":"EUVD-2026-80998","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hapifhir-org-hl7-fhir-core-cve-2026-81875","parents":[{"from":"CVE-2026-81875","to":"CVE-2026-81876","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/SHCParser.java"],"commits":["https://github.com/hapifhir/org.hl7.fhir.core/commit/fbb94216e0ad21ded75be77e5e20242ba194e83f","https://github.com/hapifhir/org.hl7.fhir.core/commit/d804558bd77372b1629e55a5b901cad3f5134cdc","https://github.com/hapifhir/org.hl7.fhir.core/commit/edd5d8c139e669e39270785f08be7b63aefef24c"],"basis":"shared function","functions":["decodeJWT"]},{"kind":"similar","provenance":"machine","score":0.55,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-49485","published":"2026-07-17","fixed":"6.9.9","kev":false,"link":{"from":"CVE-2026-49485","to":"CVE-2026-81876","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:ca.uhn.hapi.fhir:org.hl7.fhir.r5","fromFixed":"6.9.9","toFixed":"6.9.12","daysApart":61}]}},{"cve":"CVE-2026-55470","published":"2026-07-08","fixed":"6.9.10","kev":false,"link":{"from":"CVE-2026-55470","to":"CVE-2026-81876","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:ca.uhn.hapi.fhir:org.hl7.fhir.validation","fromFixed":"6.9.10","toFixed":"6.9.12","daysApart":70},{"kind":"version-step","provenance":"source","package":"Maven:ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli","fromFixed":"6.9.10","toFixed":"6.9.12","daysApart":70}]}},{"cve":"CVE-2026-81875","published":"2026-09-16","fixed":"6.9.12","kev":false},{"cve":"CVE-2026-81876","published":"2026-09-16","fixed":"6.9.12","kev":false}],"package":"Maven:ca.uhn.hapi.fhir:org.hl7.fhir.validation"}}