Skip to main content

Docling CVE-2026-105749

| EUVDEUVD-2026-92812 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-10-05 GitHub_M GHSA-cgc7-9qp3-86m3
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft document with huge rowspan/colspan
  2. Delivery
    Submit file to Docling-backed service
  3. Exploit
    Backend allocates oversized table grid
  4. Execution
    CPU/memory exhaustion bypasses document_timeout
  5. Impact
    Service 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

docling 2.0.0, < 2.131.0
docling-slim 2.92.0, < 2.131.0

Affected Packages

pypi docling fix: 2.131.0
pypi docling-slim fix: 2.131.0

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

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

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).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Oct 05, 2026 - 23:02 EUVD

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 2 pypi packages depend on docling-slim (1 direct, 1 indirect)

Ecosystem-wide dependent count for version 2.92.0.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Medium
popular open-source document-parsing library in AI/RAG pipelines, not universally deployed
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

52
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy