Skip to content
RedCVE

CVE-2026-81876Hapifhir Org.hl7.fhir.core improper input validation

hapifhirPublished:

CVSS score

7.5

High

CVSS 3.1 from github.com

Exploit probability (EPSS)

0.63%

0.63% chance of exploitation in the next 30 days, higher than 51.1% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

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.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running hapifhir Org.hl7.fhir.core and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Org.hl7.fhir.core to 6.9.12 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

Affected productsVersions
hapifhir Org.hl7.fhir.core< 6.9.12

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-81876 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.6% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-81876?

CVE-2026-81876 has a CVSS 3.1 base score of 7.5 (high).

Which versions are affected?

Hapifhir Org.hl7.fhir.core (< 6.9.12)

Is there a patch for CVE-2026-81876?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.