Vulnerability · Published Oct 5, 2026 · Assigned by GitHub_M
CVE-2026-105749Docling: Unbounded table rowspan/colspan in HTML, JATS, ODS and BoxNote backends causes CPU/memory exhaustion
Medium 6.5
In plain English
A medium-severity uncontrolled resource consumption in docling from docling-project. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | docling | 2.131.0 | GHSA-cgc7-9qp3-86m3 |
| PyPI | docling | 2.131.0 | PYSEC-2026-4195 |
| PyPI | docling-slim | 2.131.0 | GHSA-cgc7-9qp3-86m3 |
| PyPI | docling-slim | 2.131.0 | PYSEC-2026-4211 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| docling-project | docling | >= 2.0.0, < 2.131.0 |
| docling-project | docling-slim | >= 2.92.0, < 2.131.0 |
Weakness: CWE-400, CWE-789 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- https://github.com/docling-project/docling/security/advisories/GHSA-cgc7-9qp3-86m3 x_refsource_CONFIRM
- https://github.com/docling-project/docling/pull/4414 x_refsource_MISC
- https://github.com/docling-project/docling/commit/c5b4429cc6500a344c13edeb22e67610c2159b09 x_refsource_MISC
- https://github.com/docling-project/docling/releases/tag/v2.131.0 x_refsource_MISC