{"id":"CVE-2026-31247","aliases":["CVE-2026-31247","GHSA-cr42-rg2m-mq4q","PYSEC-2026-2455"],"related":[],"kind":"vulnerability","state":"published","title":"Docling's JATS XML backend is vulnerable to XML Entity Expansion (XXE) attacks","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-05-11T00:00:00.000Z","modified":"2026-11-08T16:10:00.183Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.61.0"}],"ecosystem":"PyPI","package":"docling","purl":"pkg:pypi/docling","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.61.0"}],"ecosystem":"PyPI","package":"docling","purl":"pkg:pypi/docling","source":"pysec"}],"references":[{"url":"https://github.com/docling-project/docling","tags":["package"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.notion.so/CVE-2026-31247-35d1e1393188818fa654c116c6a470bb","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31247","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/docling","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-cr42-rg2m-mq4q","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-12T18:42:23.903Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31247","url":"https://www.cve.org/CVERecord?id=CVE-2026-31247","licence":"CVE Terms of Use","modified":"2026-05-12T18:42:55.864Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cr42-rg2m-mq4q","url":"https://github.com/advisories/GHSA-cr42-rg2m-mq4q","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:07.440Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31247","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31247","licence":"Public domain","modified":"2026-11-08T16:10:00.183Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2455","url":"https://osv.dev/vulnerability/PYSEC-2026-2455","licence":"CC-BY-4.0","modified":"2026-07-13T16:31:40.089Z"}],"updatedAt":"2026-11-25T22:59:21.193Z","epss":{"score":0.00351,"percentile":0.30697,"date":"2026-12-01T12:00:22.000Z"}}