# PYSEC-2026-4195: Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem

- Database: PyPA
- Published: 2026-10-05
- Modified: 2026-10-15

## Tracked as

- [CVE-2026-105749](https://cve.now/CVE-2026-105749.md): Docling: Unbounded table rowspan/colspan in HTML, JATS, ODS and BoxNote backends causes CPU/memory exhaustion

## Also published as

- [GHSA-CGC7-9QP3-86M3](https://cve.now/GHSA-CGC7-9QP3-86M3.md) (GitHub)
- [PYSEC-2026-4211](https://cve.now/PYSEC-2026-4211.md) (PyPA)

## Affected versions

- docling (PyPI): from 2.0.0, fixed in 2.131.0

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

## References

- https://github.com/docling-project/docling/releases/tag/v2.131.0
- https://github.com/docling-project/docling/commit/c5b4429cc6500a344c13edeb22e67610c2159b09
- https://github.com/docling-project/docling/pull/4414
- https://github.com/docling-project/docling/security/advisories/GHSA-cgc7-9qp3-86m3

Page: https://cve.now/PYSEC-2026-4195

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
