CVE-2026-31247
HIGH 7.5CVSS 3.1Docling's JATS XML backend is vulnerable to XML Entity Expansion (XXE) attacks
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.
- Published
- 11 May 2026
- Last modified
- 8 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-400
- Also known as
- GHSA-cr42-rg2m-mq4qPYSEC-2026-2455
- Sources
- NVDJSONOSV GHSA-cr42-rg2m-mq4qJSONOSV PYSEC-2026-2455JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | docling | <= 2.61.0 |
References
- https://github.com/docling-project/docling · PACKAGE
- https://www.notion.so/CVE-2026-31247-35d1e1393188818fa654c116c6a470bb · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-31247 · ADVISORY
- https://pypi.org/project/docling · PACKAGE
- https://github.com/advisories/GHSA-cr42-rg2m-mq4q · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 11 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 May 2026)