{
  "id": "CVE-2026-62296",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-62296",
  "published_at": "2026-08-07T20:03:17.024Z",
  "title": "HAPI FHIR: XHTML narrative parser unbounded recursion causes StackOverflow denial of service",
  "vendor": "hapifhir",
  "product": "org.hl7.fhir.core",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to 6.9.11, XhtmlParser.java imposes no maximum element nesting depth, so a deeply nested text.div narrative triggers unbounded recursion between parseElementInner() and parseElement(), raising a StackOverflowError. An attacker who can submit FHIR resources containing such narratives can thus crash a parsing or validation worker thread, affecting validator services and any application that parses attacker-supplied FHIR JSON or XML. This issue is fixed in version 6.9.11.",
  "cwe": "CWE-20",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "hapifhir",
        "product": "org.hl7.fhir.core",
        "ranges": [
          "\u003c 6.9.11"
        ],
        "fixed_in": [
          "6.9.11"
        ]
      },
      {
        "vendor": "hapifhir",
        "product": "ca.uhn.hapi.fhir:org.hl7.fhir.r5",
        "ranges": [
          "\u003c 6.9.11"
        ],
        "fixed_in": [
          "6.9.11"
        ]
      },
      {
        "vendor": "hapifhir",
        "product": "ca.uhn.hapi.fhir:org.hl7.fhir.utilities",
        "ranges": [
          "\u003c 6.9.11"
        ],
        "fixed_in": [
          "6.9.11"
        ]
      },
      {
        "vendor": "hapifhir",
        "product": "ca.uhn.hapi.fhir:org.hl7.fhir.validation",
        "ranges": [
          "\u003c 6.9.11"
        ],
        "fixed_in": [
          "6.9.11"
        ]
      },
      {
        "vendor": "hapifhir",
        "product": "ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli",
        "ranges": [
          "\u003c 6.9.11"
        ],
        "fixed_in": [
          "6.9.11"
        ]
      }
    ],
    "upgrade": [
      "Upgrade org.hl7.fhir.core to 6.9.11 or later.",
      "Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.r5 to 6.9.11 or later.",
      "Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.utilities to 6.9.11 or later.",
      "Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.validation to 6.9.11 or later.",
      "Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli to 6.9.11 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-5v24-q6x8-hc38"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/hapifhir/org.hl7.fhir.core/commit/396f447500407693d6ae1e64db59782862ca7506"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
