CVE-2026-31248
High · 7.5CVSS
7.5
EPSS
0.5%
Published
May 11, 2026
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-58234 SAP Process Integration (SOAP Adapter) allows a privileged user to send specially crafted… CWE-776
- CVE-2026-16180 IBM App Connect Enterprise 13.0.1.0 through 13.0.8.1, and 12.0.1.0 through 12.0.12.28 and… CWE-776
- CVE-2026-78681 NLTK versions before 3.10.3 use xml.etree.ElementTree to parse XML in multiple modules… CWE-776
- CVE-2026-3415 The XML and schema validation functionalities within the SchemaValidator Mediator process… CWE-776
- CVE-2026-44018 Docling simplifies document processing by parsing diverse formats and providing… CWE-776
- CVE-2026-12993 A flaw was found in Apicurio Registry. CWE-776
- CVE-2026-44020 Docling simplifies document processing by parsing diverse formats and providing… CWE-776
- CVE-2026-45771 FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from… CWE-776