Vulnerability · Published Oct 5, 2026 · Assigned by GitHub_M
CVE-2026-105747Docling: METS-GBS archive member limit enforced after full member enumeration (memory exhaustion during format detection)
Medium 4.3
In plain English
A medium-severity resource allocation without limits in docling from docling-project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% 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.45.0 until 2.131.0, METS-GBS format detection in docling/datamodel/document.py and the backend in docling/backend/mets_gbs_backend.py call tarfile.TarFile.getmembers() before enforcing the max_member_count limit, causing the full archive member list to be allocated before the limit can stop processing. A small gzip-compressed tar archive with a very large number of empty members can therefore consume memory proportional to the declared member count, including during format detection before the allowed_formats restriction is applied. This issue is a residual weakness in the member-count protection added for CVE-2026-44018. This issue is fixed in 2.131.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | docling | 2.131.0 | GHSA-3cr3-8m4c-fpxw |
| PyPI | docling | 2.131.0 | PYSEC-2026-4194 |
| PyPI | docling-slim | 2.131.0 | GHSA-3cr3-8m4c-fpxw |
| PyPI | docling-slim | 2.131.0 | PYSEC-2026-4209 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| docling-project | docling | >= 2.45.0, < 2.131.0 |
| docling-project | docling-slim | >= 2.45.0, < 2.131.0 |
Weakness: CWE-409, CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
References
- https://github.com/docling-project/docling/security/advisories/GHSA-3cr3-8m4c-fpxw x_refsource_CONFIRM
- https://github.com/docling-project/docling/pull/4412 x_refsource_MISC
- https://github.com/docling-project/docling/commit/ebae65cd71c37c88b36185b406a449b92d8f7ffa x_refsource_MISC
- https://github.com/docling-project/docling/releases/tag/v2.131.0 x_refsource_MISC