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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.3
- **CVSS:** 4.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.41% (percentile 27, 2026-11-29)
- **CWE:** CWE-409, CWE-770
- **Aliases:** GHSA-3cr3-8m4c-fpxw, PYSEC-2026-4194, PYSEC-2026-4209
- **Published:** 2026-10-05T21:32:34.438Z
- **Modified:** 2026-10-15T14:56:00.401Z

## Who should check

- Projects that depend on PyPI package docling (\>= 2.45.0, \< 2.131.0)
- Projects that depend on PyPI package docling-slim (\>= 2.92.0, \< 2.131.0)
- Anyone running docling-project docling \>= 2.45.0, \< 2.131.0
- Anyone running docling-project docling-slim \>= 2.45.0, \< 2.131.0

## 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.

## Affected and fixed versions

- PyPI `docling`: affected \>= 2.45.0, \< 2.131.0; fixed 2.131.0 (osv)
- PyPI `docling-slim`: affected \>= 2.92.0, \< 2.131.0; fixed 2.131.0 (osv)
- docling-project docling: \>= 2.45.0, \< 2.131.0 (cvelist)
- docling-project docling-slim: \>= 2.45.0, \< 2.131.0 (cvelist)

## Mitigation

- Upgrade docling to 2.131.0 or later.
- Upgrade docling-slim to 2.131.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-105747. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-105747.md
Affected: docling >= 2.45.0, < 2.131.0; docling-slim >= 2.92.0, < 2.131.0
Fixed in: 2.131.0

Steps:
1. Search this machine and project for docling (PyPI), docling-slim (PyPI), docling-project docling, docling-project docling-slim: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-105747 being exploited?

There is no confirmed exploitation: CVE-2026-105747 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.41% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2026-105747?

Medium: CVSS 4.3 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-105747?

docling \>= 2.45.0, \< 2.131.0; docling-slim \>= 2.92.0, \< 2.131.0.

### Is there a fix for CVE-2026-105747?

Yes. Fixed in 2.131.0. Upgrade docling to 2.131.0 or later. Upgrade docling-slim to 2.131.0 or later.

### How do I check if I'm affected by CVE-2026-105747?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/docling-project/docling/security/advisories/GHSA-3cr3-8m4c-fpxw>
- vendor: <https://github.com/docling-project/docling/releases/tag/v2.131.0>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-105747>
- vendor: <https://github.com/advisories/GHSA-3cr3-8m4c-fpxw>
- patch: <https://github.com/docling-project/docling/pull/4412>
- patch: <https://github.com/docling-project/docling/commit/ebae65cd71c37c88b36185b406a449b92d8f7ffa>
- other: <https://github.com/docling-project/docling>
- other: <https://pypi.org/project/docling-slim>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-105747>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-3cr3-8m4c-fpxw> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-4194> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-4209> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-105747> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-105747>
