Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. ca.uhn.hapi.fhir/org.hl7.fhir.r5
  4. ›
  5. CVE-2026-81876

CVE-2026-81876: HAPI FHIR: SHCParser DEFLATE infinite loop causes denial of service

September 17, 2026

A malformed Smart Health Card (SHC) JWT with zip: "DEF" and an empty or truncated DEFLATE payload causes SHCParser.inflate() to loop forever. This allows an attacker who can submit SHC content for validation to pin a JVM worker thread indefinitely, causing denial of service.

References

  • github.com/advisories/GHSA-gq9c-wmrm-5hvr
  • github.com/hapifhir/org.hl7.fhir.core/commit/d804558bd77372b1629e55a5b901cad3f5134cdc
  • github.com/hapifhir/org.hl7.fhir.core/commit/edd5d8c139e669e39270785f08be7b63aefef24c
  • github.com/hapifhir/org.hl7.fhir.core/pull/2493
  • github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-gq9c-wmrm-5hvr
  • nvd.nist.gov/vuln/detail/CVE-2026-81876

Code Behaviors & Features

Detect and mitigate CVE-2026-81876 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 6.9.12

Fixed versions

  • 6.9.12

Solution

Upgrade to version 6.9.12 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-400: Uncontrolled Resource Consumption
  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

maven/ca.uhn.hapi.fhir/org.hl7.fhir.r5/CVE-2026-81876.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:31 +0000.