{"cve":"CVE-2026-31248","nvd":{"published":"2026-05-11T17:16:19.647","modified":"2026-06-17T10:33:31.867","status":"Deferred","description":"Docling's METS GBS backend is vulnerable to XML Entity Expansion (XXE) attacks thru 2.61.0. The backend extracts and validates XML files from .tar.gz archives using etree.fromstring() without disabling entity resolution. An attacker can craft a malicious XML file with nested entity definitions (XML Bomb) and package it into a .tar.gz archive. When processed by Docling, the exponential expansion of entities during XML parsing leads to excessive resource consumption, resulting in a denial of service (DoS) condition on the system running the Docling parser.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-776"],"references":["https://github.com/docling-project/docling","https://www.notion.so/CVE-2026-31248-35d1e1393188818585b2ce3b9ce24686"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:33:55.586217763+00:00"},"epss":{"cve":"CVE-2026-31248","score":0.00278,"percentile":0.20331,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9f4q-q82q-4359","url":"https://osv.dev/vulnerability/GHSA-9f4q-q82q-4359","summary":"Docling's METS GBS backend is vulnerable to XML Entity Expansion (XXE) attacks","modified":"2026-07-13T16:43:41.210892318Z","packages":[{"ecosystem":"PyPI","name":"docling","purl":"pkg:pypi/docling","ranges":["<=2.61.0"],"fixed":[]}]},{"id":"PYSEC-2026-2454","url":"https://osv.dev/vulnerability/PYSEC-2026-2454","summary":"Docling's METS GBS backend is vulnerable to XML Entity Expansion (XXE) attacks","modified":"2026-07-13T16:31:40.081469097Z","packages":[{"ecosystem":"PyPI","name":"docling","purl":"pkg:pypi/docling","ranges":["<=2.61.0"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}