Skip to content
Heist/ feed
Medium

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-105747

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-105747

docling

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

docling-slim

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "docling-project",
    "product": "docling",
    "versions": [
      {
        "status": "affected",
        "version": ">= 2.45.0, < 2.131.0"
      }
    ]
  },
  {
    "vendor": "docling-project",
    "product": "docling-slim",
    "versions": [
      {
        "status": "affected",
        "version": ">= 2.45.0, < 2.131.0"
      }
    ]
  }
]
Related CVEs
CVE-2026-105747

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#9324 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement