CVE-2026-31247
JSON

7.5high

Docling's JATS XML backend is vulnerable to XML Entity Expansion (XXE) attacks

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.35% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-cr42-rg2m-mq4qPYSEC-2026-2455

Description

Docling's JATS XML backend is vulnerable to XML Entity Expansion (XXE) attacks thru 2.61.0. The backend uses etree.parse() to parse XML files without disabling entity resolution. An attacker can craft a malicious XML file containing a nested entity expansion payload (XML Bomb). When processed by Docling, the exponential expansion of entities leads to excessive resource consumption, resulting in a denial of service (DoS) condition on the system running the Docling parser.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
docling (PyPI)up to 2.61.0GitHub Advisory Database, PyPA Advisory Database

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
PyPA Advisory Database7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-400

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Docling's JATS XML backend is vulnerable to XML Entity Expansion (XXE) attacks thru 2.61.0. The backend uses etree.parse() to parse XML files without disabling entity resolution. An attacker can craft a malicious XML file containing a nested entity expansion payload (XML Bomb). When processed by Docling, the exponential expansion of entities leads to excessive resource consumption, resulting in a denial of service (DoS) condition on the system running the Docling parser.

NVD (es)

El backend JATS XML de Docling es vulnerable a ataques de Expansión de Entidades XML (XXE) hasta la versión 2.61.0. El backend utiliza etree.parse() para analizar archivos XML sin deshabilitar la resolución de entidades. Un atacante puede elaborar un archivo XML malicioso que contenga una carga útil de expansión de entidades anidada (Bomba XML). Cuando es procesado por Docling, la expansión exponencial de entidades conduce a un consumo excesivo de recursos, lo que resulta en una condición de denegación de servicio (DoS) en el sistema que ejecuta el analizador de Docling.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31247 changed 2026-05-12CVE Terms of Use
GitHub Advisory DatabaseGHSA-cr42-rg2m-mq4q changed 2026-07-13CC-BY-4.0
NVDCVE-2026-31247 changed 2026-11-08Public domain
PyPA Advisory DatabasePYSEC-2026-2455 changed 2026-07-13CC-BY-4.0