{"id":"GHSA-f4ch-vxwc-3p2m","title":"Duplicate Advisory:  Docling: METS-GBS archive member limit enforced after full member enumeration (memory exhaustion during format detection)","summary":"Duplicate Advisory:  Docling: METS-GBS archive member limit enforced after full member enumeration (memory exhaustion during format detection)","severity":"medium","cvss":4.3,"cwe":["CWE-409"],"vendor":"docling","product":"docling","ecosystem":"pip","affected":["docling >= 2.45.0, < 2.131.0"],"patched":["docling 2.131.0"],"published":"2026-10-06","updated":"2026-10-06","sourceUpdated":"2026-10-06T13:43:12Z","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-f4ch-vxwc-3p2m","references":[{"url":"https://github.com/docling-project/docling/security/advisories/GHSA-3cr3-8m4c-fpxw"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105747"},{"url":"https://github.com/docling-project/docling/pull/4412"},{"url":"https://github.com/docling-project/docling/commit/ebae65cd71c37c88b36185b406a449b92d8f7ffa"},{"url":"https://github.com/docling-project/docling/releases/tag/v2.131.0"},{"url":"https://github.com/advisories/GHSA-f4ch-vxwc-3p2m"}],"tags":["ghsa","pip"],"ingestedAt":"2026-10-06T14:00:19.134Z","slug":"GHSA-f4ch-vxwc-3p2m","body":"## Overview\n\n## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-3cr3-8m4c-fpxw. This link is maintained to preserve external references.\n\n## Original Description\nDocling 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.\n\n## Affected packages\n\n- `docling >= 2.45.0, < 2.131.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `docling 2.131.0`","depth":"sunlit","depthScore":24,"depthScoreParts":{"impact":23.7,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}