CVE-2026-31248
Full vulnerability record from the local CVENow database.
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.
Severity
HIGH
CVSS score
7.5
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-05-11 17:16:19.647000
Last modified
2026-11-08 16:10:00.183000
View original CVE JSON
{
"id": "CVE-2026-31248",
"sourceIdentifier": "[email protected]",
"published": "2026-05-11T17:16:19.647",
"lastModified": "2026-11-08T16:10:00.183",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "El backend METS GBS de Docling es vulnerable a ataques de Expansión de Entidades XML (XXE) hasta la 2.61.0. El backend extrae y valida archivos XML de archivos .tar.gz usando etree.fromstring() sin deshabilitar la resolución de entidades. Un atacante puede elaborar un archivo XML malicioso con definiciones de entidades anidadas (Bomba XML) y empaquetarlo en un archivo .tar.gz. Cuando es procesado por Docling, la expansión exponencial de entidades durante el análisis XML conduce a un consumo excesivo de recursos, lo que resulta en una condición de denegación de servicio (DoS) en el sistema que ejecuta el analizador de Docling."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"version": "n/a",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-05-12T18:43:49.052708Z",
"id": "CVE-2026-31248",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-776"
}
]
}
],
"references": [
{
"url": "https://github.com/docling-project/docling",
"source": "[email protected]"
},
{
"url": "https://www.notion.so/CVE-2026-31248-35d1e1393188818585b2ce3b9ce24686",
"source": "[email protected]"
}
]
}