Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft document with huge rowspan/colspan
-
DeliverySubmit file to Docling-backed service
-
ExploitBackend allocates oversized table grid
-
ExecutionCPU/memory exhaustion bypasses document_timeout
-
ImpactService denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target to parse an attacker-supplied document through one of Docling's affected backends - HTML (html_backend.py), JATS (jats_backend.py), OpenDocument spreadsheet (opendocument_backend.py), or BoxNote (boxnote_backend.py) - in versions 2.0.0 up to but not including 2.131.0. The malicious document must declare rowspan/colspan attribute values with no upper bound, which Docling uses to size a table grid or drive loops; export via the TableData.grid property can further materialize the oversized grid. Limiting factors: the attack is availability-only and requires user/service interaction (UI:R) to ingest the document, so it is realistically impactful only where untrusted documents are processed automatically; notably, the document_timeout setting does NOT limit it, removing an assumed safeguard. No authentication is required (PR:N). |
| Impact | This is a credible but moderate-severity denial-of-service issue, accurately rated at CVSS 6.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H). The vector is internally consistent with the description: AV:N and PR:N reflect that any attacker-supplied document can trigger the flaw without authentication, while UI:R correctly captures that a victim or service must actually ingest the malicious document - exploitation is passive, not self-propagating. Impact is availability-only (A:H, C:N/I:N), with no code execution or data exposure, which is appropriate for a CWE-400 resource-exhaustion bug. No EPSS score, KEV listing, or POC was provided, so exploitation likelihood signals are absent; at time of analysis there is no public exploit identified. The notable aggravating factor documented by the vendor is that the existing document_timeout safeguard does NOT interrupt the single backend conversion call, meaning a tiny malicious file can pin CPU or consume multi-gigabyte memory in a way operators may assume is already mitigated - this is the real priority driver. Realistically this is a 'high-CVSS-for-a-DoS but not an emergency' issue for most, elevated mainly for services that auto-ingest untrusted documents at scale (RAG/GenAI pipelines). |
| Exploit ScenarioDerived | An attacker submits a small, crafted HTML, JATS, OpenDocument spreadsheet, or BoxNote file to a service that uses Docling to parse documents (for example a GenAI/RAG ingestion pipeline). The file declares enormous rowspan/colspan values, causing Docling to allocate a table grid or loop proportional to the declared spans, exhausting CPU or multiple gigabytes of memory. No public exploit code is identified, but the technique is trivial to reproduce from the public advisory and patch diff. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 05, 2026
Unbounded rowspan/colspan attribute handling in Docling 2.0.0 through 2.130.x lets a deliberately crafted document force sustained CPU consumption or multi-gigabyte memory allocation during table parsing, denying service to the process doing the conversion. Four document backends are affected - HTML, JATS, OpenDocument spreadsheet, and BoxNote - and the built-in document_timeout setting does not interrupt the single backend conversion call, so the usual safeguard against runaway parses is ineffective. The flaw is rated CVSS 6.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H): unauthenticated from the network but requiring the target to ingest the malicious file, with availability as the sole impact. No public exploit code identified at time of analysis, and the vulnerability is fixed in 2.131.0.
RemediationAI
Vendor-released patch: upgrade to Docling 2.131.0 or later (release at https://github.com/docling-project/docling/releases/tag/v2.131.0), which incorporates PR #4414 and commit c5b4429cc6500a344c13edeb22e67610c2159b09 that clamp rowspan/colspan to table bounds and enforce MAX_COLSPAN/MAX_ROWSPAN. No fully equivalent workaround exists inside the library, since document_timeout does not interrupt the backend conversion call - so if immediate upgrade is impossible, treat the parse step as hostile code: run conversions in a separate worker process or container with a hard CPU-time and memory (cgroup/rlimit) cap and an external watchdog that kills and restarts the worker on breach, at the cost of losing in-flight conversions and bounded-but-higher operational overhead. Additional hardening: reject or pre-strip untrusted rowspan/colspan attributes (clip to the HTML ceilings of 1000 columns / 65534 rows) during an input-validation pass before handing documents to Docling, and disable or route away from the BoxNote, JATS, and OpenDocument-spreadsheet backends if those formats are not part of your workload, noting that this narrows coverage and may break legitimate feeds using those formats.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Docling is a Python document-processing library that parses diverse formats and exposes structured output to generative AI pipelines. Affected backends are docling/backend/html_backend.py, jats_backend.py, opendocument_backend.py, and boxnote_backend.py. The root cause is CWE-400 (Uncontrolled Resource Consumption): the parsers read rowspan and colspan values from a table cell and use them directly to size an in-memory table grid or to drive nested loops, without an upper bound. Because the work is proportional to the declared span rather than to the actual number of cells, a document containing only a handful of elements can demand enormous allocation; exporting via the TableData.grid property can further materialize the oversized grid. The fix (PR #4414, commit c5b4429cc6500a344c13edeb22e67610c2159b09) introduces a shared docling/backend/utils/table_spans.py module providing MAX_COLSPAN, MAX_ROWSPAN, clamp_span() and table_width() helpers, clamps spans to the surrounding table dimensions, short-circuits digits longer than the rowspan limit before integer conversion, and aligns the limits with the HTML specification ceilings (1000 columns, 65534 rows) referenced in the _get_cell_spans docstring. The OpenDocument path additionally computes true data bounds so merged ranges cannot extend past the table.
Know when Docling Slim gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Any unauthenticated attacker-supplied document triggers the flaw (AV:N/AC:L/PR:N) but a victim service must ingest it (UI:R); impact is availability-only resource exhaustion (A:H, C:N/I:N).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.0.0 until 2.131.0, the HTML, JATS, OpenDocument spreadsheet, and BoxNote backends, including docling/backend/html_backend.py, docling/backend/jats_backend.py, and docling/backend/boxnote_backend.py, accept the rowspan and colspan attribute values without an upper bound and execute loops or allocate a table grid proportional to the declared span. A very small document can therefore cause sustained CPU use or multi-gigabyte memory allocation, and the document_timeout setting does not interrupt the single backend conversion call. Export through the TableData.grid property can further materialize the oversized grid. This issue is fixed in 2.131.0.
Blast Radius
ecosystem impact- 2 pypi packages depend on docling-slim (1 direct, 1 indirect)
Ecosystem-wide dependent count for version 2.92.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Docling Slim
View allLocal file disclosure in Docling allows crafted HTML to embed readable files from the host filesystem into the rendered
Docling 2.94.0 through 2.131.x allows an attacker-supplied LaTeX/TikZ document to read files accessible to the converter
Import-time code execution in Docling 2.27.0 through 2.131.0 lets any distribution already present in the same Python en
Server-side request forgery in Docling 2.91.0 through 2.131.x lets an attacker-supplied document reach internal services
Docling 2.83.0 through 2.130.x ignores the enable_remote_services=False policy when OCR is configured with KserveV2OcrOp
Docling's HTML backend forwards operator-configured HTTP headers - bearer tokens, API keys, cookies set via HTMLBackendO
Processing a crafted document with Docling (or the docling-slim distribution) versions 2.45.0 through 2.130.x can exhaus
Information disclosure in Docling (and the docling-slim distribution) versions 2.16.0 through 2.130.x lets an attacker e
EUVD-2026-92812
GHSA-cgc7-9qp3-86m3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB