Quick answers
- Is CVE-2026-31248 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-31248 being exploited in the wild.
- How severe is CVE-2026-31248?
- High severity, with a CVSS score of 7.5, published 11 May 2026.
- Which products and versions are affected?
- Docling Project Docling up to and including 2.61.0; docling (PyPI) ECOSYSTEM:introduced=0,last_affected=2.61.0.
- Is there a fix for CVE-2026-31248?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-31248 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-31248?
- Check whether you run Docling Project Docling or docling (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
Docling's METS GBS backend is vulnerable to an XML Entity Expansion (XXE) attack, specifically an 'XML Bomb'. The vulnerability exists because the backend uses the 'etree.fromstring()' function to parse XML files extracted from .tar.gz archives without disabling entity resolution. An attacker can exploit this by submitting a crafted archive containing an XML file with deeply nested entity definitions. When parsed, these entities expand exponentially, leading to extreme CPU and memory consumption. This results in a denial-of-service (DoS) on the host system. The vulnerability affects versions up to and including 2.61.0; as of the advisory date, no patched version is specified.
Affected products
- docling-project docling <= 2.61.0
Identifiers
- CVE-2026-31248
- GHSA-9f4q-q82q-4359
- PYSEC-2026-2454
Timeline
- 2026-05-11: disclosed
- 2026-05-11: advisory: GitHub Advisory published