CVE-2026-31248
CVE-2026-31248 is a high-severity vulnerability with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-776.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 0% (20th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-29095
- Weakness: CWE-776
- Published:
- Last modified:
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.
Frequently asked questions
- 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.
- How severe is CVE-2026-31248?
- CVE-2026-31248 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2026-31248 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (20th percentile), an estimate of the probability of exploitation in the next 30 days.
- How do I fix CVE-2026-31248?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-31248 have an EU (EUVD) identifier?
- Yes. CVE-2026-31248 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-29095.
- When was CVE-2026-31248 published?
- CVE-2026-31248 was published on 2026-05-11 and last updated on 2026-06-17.
References
- https://github.com/docling-project/docling
- https://www.notion.so/CVE-2026-31248-35d1e1393188818585b2ce3b9ce24686
Other CWE-776 vulnerabilities
- CVE-2019-19144 — Critical (CVSS 9.8): XML External Entity Injection vulnerability in Quantum DXi6702 2.3.0.3 (11449-53631 Build304) devices via…
- CVE-2022-23640 — Critical (CVSS 9.8): Excel-Streaming-Reader is an easy-to-use implementation of a streaming Excel reader using Apache POI. Prior to…
- CVE-2014-2228 — Critical (CVSS 9.8): The XStream extension in HP Fortify SCA before 2.2 RC3 allows remote attackers to execute arbitrary code via unsafe…
- CVE-2013-4335 — Critical (CVSS 9.8): opOpenSocialPlugin 0.8.2.1, > 0.9.9.2, 0.9.13, 1.2.6: Multiple XML External Entity Injection Vulnerabilities
- CVE-2021-23926 — Critical (CVSS 9.1): The XML parsers used by XMLBeans up to version 2.6.0 did not set the properties needed to protect the user from…
- CVE-2020-24590 — Critical (CVSS 9.1): The Management Console in WSO2 API Manager through 3.1.0 and API Microgateway 2.2.0 allows XML Entity Expansion attacks.