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 products
docling: docling
References5
- github.com/docling-project/docling/security/advisories/GHSA-cgc… ExploitPatchVendor Advisory
- github.com/docling-project/docling/security/advisories/GHSA-cgc… ExploitPatchVendor Advisory
- github.com/docling-project/docling/commit/c5b4429cc6500a344c13e… Patch
- github.com/docling-project/docling/pull/4414 Issue TrackingPatch
- github.com/docling-project/docling/releases/tag/v2.131.0 Release Notes
Metrics
- CVSS 3.1
-
6.5
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 0% percentile: 22 · as of 10 November 2026
- CWE
- CWE-400CWE-789
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.