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.
Fix
Patch, vendor advisory and mitigation references on NVD 4
- https://github.com/docling-project/docling/commit/c5b4429cc6500a344c13edeb22e67610c2159b09 Patch
- https://github.com/docling-project/docling/pull/4414 Issue Tracking, Patch
- https://github.com/docling-project/docling/security/advisories/GHSA-cgc7-9qp3-86m3 Exploit, Patch, Vendor Advisory
- https://github.com/docling-project/docling/security/advisories/GHSA-cgc7-9qp3-86m3 Exploit, Patch, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 6.5 · doclingNVD modified 2026-10-08 03:16
Affected (CPE criteria) 1
cpe:2.3:a:docling:docling:*:*:*:*:*:*:*:*
References 5
- https://github.com/docling-project/docling/commit/c5b4429cc6500a344c13edeb22e67610c2159b09 Patch
- https://github.com/docling-project/docling/pull/4414 Issue Tracking, Patch
- https://github.com/docling-project/docling/releases/tag/v2.131.0 Release Notes
- https://github.com/docling-project/docling/security/advisories/GHSA-cgc7-9qp3-86m3 Exploit, Patch, Vendor Advisory
- https://github.com/docling-project/docling/security/advisories/GHSA-cgc7-9qp3-86m3 Exploit, Patch, Vendor Advisory