Memory exhaustion in Docling METS-GBS tar archive handling
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-770.
Summary
Docling versions from 2.45.0 before 2.131.0 and docling-slim versions from 2.92.0 before 2.131.0 are affected. The METS-GBS backend lists all tar archive members before enforcing the member count limit, so a small gzip-compressed archive with a very large number of empty members can exhaust memory (CWE-770). An attacker only needs to get such an archive processed, including during format detection, and needs no privileges.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| docling-project | docling | 2.45.0 to before 2.131.0 | 2.131.0 | Patch available | CNA |
| docling-project | docling-slim | 2.45.0 to before 2.131.0 | 2.131.0 | Patch available | CNA |
| — | docling (PyPI) | 2.45.0 to before 2.131.0 | 2.131.0 | Patch available | GHSA-3cr3-8m4c-fpxw |
| — | docling-slim (PyPI) | 2.92.0 to before 2.131.0 | 2.131.0 | Patch available | GHSA-3cr3-8m4c-fpxw |
- docling Vendordocling-project Affected 2.45.0 to before 2.131.0 Fixed in 2.131.0 Patch available CNA
- docling-slim Vendordocling-project Affected 2.45.0 to before 2.131.0 Fixed in 2.131.0 Patch available CNA
- docling (PyPI) Vendor— Affected 2.45.0 to before 2.131.0 Fixed in 2.131.0 Patch available GHSA-3cr3-8m4c-fpxw
- docling-slim (PyPI) Vendor— Affected 2.92.0 to before 2.131.0 Fixed in 2.131.0 Patch available GHSA-3cr3-8m4c-fpxw
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:docling:docling:*:*:*:*:*:*:*:* | 2.45.0 to before 2.131.0 | Vulnerable | docling-project |
- cpe:2.3:a:docling:docling:*:*:*:*:*:*:*:* Versions 2.45.0 to before 2.131.0 Vulnerable ·docling-project
Remediation
Upgrade docling and docling-slim to 2.131.0, which fixes this issue. Red Hat lists Lightspeed Core and Red Hat OpenShift AI (RHOAI) as affected with no fix available.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA docling (docling-project) Fixed in 2.131.0
- Fix · CNA docling-slim (docling-project) Fixed in 2.131.0
- Fix · GHSA-3cr3-8m4c-fpxw docling (PyPI) Fixed in 2.131.0 Advisory →
- Fix · GHSA-3cr3-8m4c-fpxw docling-slim (PyPI) Fixed in 2.131.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Lightspeed Core | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-06 Threatist record created from CVE-2026-105747
- 2026-10-06 Alias added: GHSA-f4ch-vxwc-3p2m
- 2026-10-06 Affected versions changed · Red Hat
- 2026-10-06 CVSS score added · Red Hat
- 2026-10-06 CISA SSVC decision points changed
- 2026-10-06 Alias added: GHSA-3cr3-8m4c-fpxw
- 2026-10-06 Fix available: PyPI/[email protected], PyPI/[email protected] · GHSA-3cr3-8m4c-fpxw
- 2026-10-06 CVSS score added · GHSA-3cr3-8m4c-fpxw
- 2026-10-06 Weakness changed · GHSA-3cr3-8m4c-fpxw
- 2026-10-06 6 new references · GHSA-3cr3-8m4c-fpxw
References
Patch 3
More docling-project Docling vulnerabilities
- TI-2026-68355 Docling Tectonic TikZ rendering enables arbitrary file read/write CVSS 3.1HIGH 8.8
- TI-2026-68362 Arbitrary local file read in Docling OpenDocument backend CVSS 4.0MEDIUM 6.9
- TI-2026-68360 Docling table span parsing causes CPU and memory exhaustion CVSS 3.1MEDIUM 6.5
- TI-2026-68353 Docling sends configured HTTP headers to any remote image host CVSS 3.1MEDIUM 5.3
- TI-2026-68359 Docling embeds local image files from crafted JSON documents CVSS 3.1MEDIUM 4.3
- TI-2026-32061 Docling: Unsafe XML Entity Expansion in USPTO Patent Backend CVSS 3.1HIGH 7.5
Sources
- CVE-2026-105747 · CVE Program
- CVE-2026-105747 · NVD
- FIRST EPSS
- GHSA-3cr3-8m4c-fpxw · GitHub Advisory Database · CC BY 4.0
- GHSA-f4ch-vxwc-3p2m · GitHub Advisory Database · CC BY 4.0
- CVE-2026-105747 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences