Home / CVE-2026-31248
CVE-2026-31248: is it exploited, and which versions of docling are affected and fixed?
CVE-2026-31248 is a XML entity expansion (billion laughs) vulnerability in docling. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: docling through 2.61.0 (GitHub advisory GHSA-9f4q-q82q-4359). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-31248?
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.
From the CVE record by mitre, last updated May 12, 2026, 18:44 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | docling | <= 2.61.0 | none listed | GHSA-9f4q-q82q-4359 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 18, 2026. Summary: Docling's METS GBS backend is vulnerable to XML Entity Expansion (XXE) attacks.
How severe is CVE-2026-31248?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-31248 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 12, 2026)
- EPSS
- 0.28% probability of exploitation activity in the next 30 days, percentile 21.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-776 Improper Restriction of Recursive Entity References in DTDs
Where are the vendor advisories and references?
- https://github.com/docling-project/docling
- https://www.notion.so/CVE-2026-31248-35d1e1393188818585b2ce3b9ce24686
When was it published, and where is the official record?
- Reserved
- March 9, 2026
- Published
- May 11, 2026, 00:00 UTC
- CVE record updated
- May 12, 2026, 18:44 UTC by mitre
- NVD
- Deferred, last modified November 8, 2026, 16:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on May 11, 2026?
- May 11, 2026CVE-2026-8349 omec-project amf: memory corruption (buffer overflow)
- May 11, 2026CVE-2026-8346 D-Link DIR-816: command injection
- May 11, 2026CVE-2026-34963 barebox: integer overflow
- May 11, 2026CVE-2026-43914 dani-garcia vaultwarden: no limit on login attempts (brute force)
- May 11, 2026CVE-2026-43913 dani-garcia vaultwarden: incorrect authorization
- May 11, 2026CVE-2026-8345 D-Link DIR-816: command injection
- May 11, 2026CVE-2026-34962 barebox: infinite loop (denial of service)
- May 11, 2026CVE-2026-43912 dani-garcia vaultwarden: improper authorization
Every CVE published on May 11, 2026
Questions about CVE-2026-31248
Is CVE-2026-31248 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.28% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of docling are affected by CVE-2026-31248?
docling through 2.61.0, per the GitHub advisory GHSA-9f4q-q82q-4359. The tables above give every range the sources list.
Which version fixes CVE-2026-31248?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-31248?
High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-31248?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.