CVE-2026-105747: Docling: METS-GBS archive member limit enforced after full member enumeration (memory exhaustion during format detection)

Published Oct 5, 2026
·
Updated

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/metsgbsbackend.py call tarfile.TarFile.getmembers() before enforcing the maxmembercount 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 allowedformats 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 Software

1 affected component
pypi/docling>=2.45.0<2.131.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade docling to a version that resolves this vulnerability.

    Fixed in 2.131.0

Event History

Oct 5, 2026
CVE Published
via MITRE·09:32 PM
Data Sourced
via MITRE·09:32 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which Docling versions are affected?

Docling versions from 2.45.0 through versions before 2.131.0 are affected. The issue is fixed in version 2.131.0.

2

What does an attacker need to exploit this issue?

An attacker needs to cause Docling to inspect a crafted gzip-compressed tar archive containing a very large number of empty members. No privileges are required, but processing the supplied archive requires user interaction.

3

Are deployments that restrict allowed document formats protected?

No. The archive members are enumerated during format detection before the allowed_formats restriction is applied, so format restrictions do not prevent this memory allocation path.

4

What should be done if upgrading is not immediately possible?

Do not rely on the configured member-count limit or allowed_formats setting to protect this path. Avoid processing untrusted gzip-compressed tar archives until Docling can be updated to 2.131.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203