{"id":"CVE-2026-105747","state":"PUBLISHED","title":"Docling: METS-GBS archive member limit enforced after full member enumeration (memory exhaustion during format detection)","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.","publishedAt":"2026-10-05T21:32:34.438Z","updatedAt":"2026-10-06T14:48:33.056Z","severity":{"score":4.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["docling-project docling","docling-project docling-slim"],"affected":[{"vendor":"docling-project","product":"docling","versions":[{"version":">= 2.45.0, < 2.131.0","status":"affected"}]},{"vendor":"docling-project","product":"docling-slim","versions":[{"version":">= 2.45.0, < 2.131.0","status":"affected"}]}],"references":["https://github.com/docling-project/docling/security/advisories/GHSA-3cr3-8m4c-fpxw","https://github.com/docling-project/docling/pull/4412","https://github.com/docling-project/docling/commit/ebae65cd71c37c88b36185b406a449b92d8f7ffa","https://github.com/docling-project/docling/releases/tag/v2.131.0"],"weaknesses":["CWE-409","CWE-770"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/105xxx/CVE-2026-105747.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-105747","state":"PUBLISHED","datePublished":"2026-10-05T21:32:34.438Z","dateUpdated":"2026-10-06T14:48:33.056Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-05T19:11:07.947Z"},"containers":{"cna":{"title":"Docling: METS-GBS archive member limit enforced after full member enumeration (memory exhaustion during format detection)","descriptions":[{"lang":"en","value":"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":[{"vendor":"docling-project","product":"docling","versions":[{"version":">= 2.45.0, < 2.131.0","status":"affected"}]},{"vendor":"docling-project","product":"docling-slim","versions":[{"version":">= 2.45.0, < 2.131.0","status":"affected"}]}],"references":[{"url":"https://github.com/docling-project/docling/security/advisories/GHSA-3cr3-8m4c-fpxw","name":"https://github.com/docling-project/docling/security/advisories/GHSA-3cr3-8m4c-fpxw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/docling-project/docling/pull/4412","name":"https://github.com/docling-project/docling/pull/4412","tags":["x_refsource_MISC"]},{"url":"https://github.com/docling-project/docling/commit/ebae65cd71c37c88b36185b406a449b92d8f7ffa","name":"https://github.com/docling-project/docling/commit/ebae65cd71c37c88b36185b406a449b92d8f7ffa","tags":["x_refsource_MISC"]},{"url":"https://github.com/docling-project/docling/releases/tag/v2.131.0","name":"https://github.com/docling-project/docling/releases/tag/v2.131.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-409","lang":"en","description":"CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-770","lang":"en","description":"CWE-770: Allocation of Resources Without Limits or Throttling","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-05T21:32:34.438Z"},"source":{"advisory":"GHSA-3cr3-8m4c-fpxw","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-06T14:34:13.770203Z","id":"CVE-2026-105747","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-06T14:48:33.056Z"}}]}}}