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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-20",
"CWE-400",
"CWE-409"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81875.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "6.9.12"
}
],
"source": [
"AFFECTED_FIELD",
"REFERENCES"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81875.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"270649621876696143585358143332013269034",
"307892693416071557266515365908284793217",
"54879530773635472201207678283655817534",
"84021881232008337835622545171829028370",
"65242139337513549248086294120713014474",
"185796640932900532588199885332589907024",
"164603120793886826392620409881596535372",
"120890545209676172566315111849401643512",
"285586865335368357867612918643443410670",
"212239312504723230357186776588412418373",
"228595268962160250866556123706075197999",
"144258297068424094173059164250449092988",
"109399536684256180734028813651575450140",
"282029182900380331643234529973606064369",
"16752435173001471838002191453344239641",
"270642931110960844567643368238594343338",
"139439637410077312726798664826096732243",
"314302683238419643528460630569420103115",
"154254562073957365433018101046905731757",
"270227046638145437860691749461677268409",
"143211294177456742559246296125635374020",
"186238144257488852484231656490706672667"
],
"threshold": 0.9
},
"id": "CVE-2026-81875-655fca3a",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/hapifhir/org.hl7.fhir.core/commit/fbb94216e0ad21ded75be77e5e20242ba194e83f",
"target": {
"file": "org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/SHCParser.java"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"173729588206513549525792628885476679322",
"146667835513553437516490657245974409381",
"265534804110698273795437748539356473402",
"57242729054995514972477277530258045307",
"240157958087720169153589035075611144510",
"58449568961175096323452631060318427803",
"184802323842191539815893423807953779687"
],
"threshold": 0.9
},
"id": "CVE-2026-81875-a0aa98fc",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/hapifhir/org.hl7.fhir.core/commit/fbb94216e0ad21ded75be77e5e20242ba194e83f",
"target": {
"file": "org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/elementmodel/SHCParserTests.java"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "334201967276274627600813832646820228703",
"length": 484
},
"id": "CVE-2026-81875-b495b229",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/hapifhir/org.hl7.fhir.core/commit/fbb94216e0ad21ded75be77e5e20242ba194e83f",
"target": {
"file": "org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/SHCParser.java",
"function": "inflate"
}
}
]
"2026-09-19T08:01:10Z"