{"id":"CVE-2026-105749","published":"2026-10-05T21:36:53Z","modified":"2026-10-08T02:29:09Z","title":"Docling: Unbounded table rowspan/colspan in HTML, JATS, ODS and BoxNote backends causes CPU/memory exhaustion","vendor":"docling-project","product":"docling","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00486,"percentile":0.34574,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://github.com/docling-project/docling/security/advisories/GHSA-cgc7-9qp3-86m3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/docling-project/docling/pull/4414","tags":["x_refsource_MISC"]},{"url":"https://github.com/docling-project/docling/commit/c5b4429cc6500a344c13edeb22e67610c2159b09","tags":["x_refsource_MISC"]},{"url":"https://github.com/docling-project/docling/releases/tag/v2.131.0","tags":["x_refsource_MISC"]}],"priority":{"score":11.5,"factors":[{"name":"EPSS percentile","points":6.91},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"docling-project","affectedVersions":[{"vendor":"docling-project","product":"docling","versions":[">= 2.0.0, < 2.131.0"]},{"vendor":"docling-project","product":"docling-slim","versions":[">= 2.92.0, < 2.131.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-08T02:28:41.797887Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"docling","vulnerableRanges":[">=2.0.0, <2.131.0"],"patched":["2.131.0"],"from":["GHSA-cgc7-9qp3-86m3","PYSEC-2026-4195"],"provenance":"source"},{"ecosystem":"PyPI","package":"docling-slim","vulnerableRanges":[">=2.92.0, <2.131.0"],"patched":["2.131.0"],"from":["GHSA-cgc7-9qp3-86m3","PYSEC-2026-4211"],"provenance":"source"}],"summary":{"text":"Docling's HTML, JATS, OpenDocument spreadsheet, and BoxNote backends, including html_backend.py, jats_backend.py and boxnote_backend.py, accept unbounded rowspan and colspan attribute values in tables and build a table grid proportional to the declared span. An attacker who can get a user to process a crafted document can cause sustained CPU use or multi-gigabyte memory allocation, since the document_timeout setting does not interrupt the single conversion call and export through TableData.grid can materialize the oversized grid.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:26Z"},"euvd":{"id":"EUVD-2026-92812","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-docling-project-docling-cve-2026-105742","children":[{"from":"CVE-2026-105749","to":"CVE-2026-105751","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["docling/backend/opendocument_backend.py"],"commits":["https://github.com/docling-project/docling/commit/c5b4429cc6500a344c13edeb22e67610c2159b09","https://github.com/docling-project/docling/commit/6ee9965adfc364b3696a67c825ec2f0d9cee4311"],"basis":"shared function","functions":["_add_table_from_odf"]}]}]}}