Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit malicious METS-GBS gzip tar archive
-
ExploitFormat detection calls getmembers() early
-
ExecutionFull member list allocated before limit
-
ImpactMemory exhaustion causes denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Compression ratio limits
|
| Exploitation Conditions | The target must run Docling (or docling-slim) 2.45.0-2.130.x and ingest an attacker-supplied file through its document pipeline. Because the flaw triggers inside _detect_mets_gbs format detection in docling/datamodel/document.py BEFORE the allowed_formats restriction is applied, the attacker does NOT need METS-GBS to be an enabled/allowed format - any path that reaches format detection on the crafted file is sufficient. The malicious input is specifically a small gzip-compressed tar archive declaring a very large number of empty members. LIMITING FACTORS: a user or automated pipeline must actually submit/process the file (CVSS UI:R), exploitation is unauthenticated (PR:N) but yields only memory exhaustion (A:L) with no code execution, data read, or data modification. |
| Impact | This is a medium-severity, resource-exhaustion (memory amplification) flaw, not a high-priority emergency. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L, base 4.3) shows no confidentiality or integrity impact and only LOW availability impact, with required user/system interaction to ingest a malicious file. No EPSS score, KEV listing, or public POC was provided, so there is no evidence of active or widespread exploitation - exploitation status is 'no public exploit identified at time of analysis.' Notably, the input Tag 'Information Disclosure' directly conflicts with the CVSS vector (C:N, A:L): this is a denial-of-service/data-amplification issue (CWE-409), NOT information disclosure - treat the tag as erroneous. The one aggravating factor is that the weakness triggers during METS-GBS format detection BEFORE the allowed_formats restriction is applied, so it can be reached even when METS-GBS is not an enabled format, slightly widening the attack surface. It is also explicitly a residual weakness of the earlier fix for CVE-2026-44018, i.e. a defense-in-depth hardening rather than a novel critical bug. Overall: patch on a normal cadence; low real-world urgency given A:L-only impact, required interaction, and absence of exploitation signals (EPSS data missing - cannot quantify probability). |
| Exploit ScenarioDerived | An attacker crafts a small gzip-compressed tar archive declaring a very large number of empty members and submits it to an application that processes documents with Docling (e.g. an upload or ingestion pipeline). When Docling runs METS-GBS format detection, it calls tarfile.getmembers() before enforcing max_member_count, allocating the entire member list and consuming memory proportional to the declared count, potentially exhausting memory and degrading or crashing the service. No public exploit code was provided, though the fixing PR (#4412) includes test archives demonstrating the condition. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 05, 2026
Processing a crafted document with Docling (or the docling-slim distribution) versions 2.45.0 through 2.130.x can exhaust process memory: a small gzip-compressed tar archive that declares a very large number of empty members causes the full archive member list to be materialised before the configured max_member_count limit can stop processing. The flaw sits in METS-GBS format detection (docling/datamodel/document.py) and the METS-GBS backend (docling/backend/mets_gbs_backend.py), and because detection runs before the allowed_formats restriction is applied, an attacker does not need METS-GBS to be an enabled format - remote, unauthenticated delivery is possible per the CVSS vector (AV:N/PR:N), though a user or automated pipeline must actually submit the file (UI:R), and the resulting impact is limited to availability (A:L, CVSS 4.3) with no code execution or data disclosure. No public exploit code was identified at time of analysis and the issue is not recorded as actively exploited; a vendor fix is available in 2.131.0.
RemediationAI
Upgrade to Docling (and docling-slim) 2.131.0, the version in which the member-count limit is enforced lazily during iteration; the release note is at https://github.com/docling-project/docling/releases/tag/v2.131.0, the advisory at https://github.com/docling-project/docling/security/advisories/GHSA-3cr3-8m4c-fpxw, and the upstream change at https://github.com/docling-project/docling/pull/4412 (commit ebae65cd71c37c88b36185b406a449b92d8f7ffa). Until the upgrade can be staged, note that simply removing METS-GBS from allowed_formats is NOT a reliable mitigation, because the vulnerable getmembers() call happens inside _detect_mets_gbs format detection before the allow-list is applied; the more effective compensating controls are to run Docling in a memory-capped container or cgroup (so a decompression-bomb input hits an OOM kill against the isolated worker rather than the host or a shared service), to cap the maximum accepted upload size and reject archives well below the memory budget, and to pre-screen untrusted tarballs with a wrapper that counts tar member headers streaming before handing the file to Docling - the trade-off being extra ingestion latency and the risk of false rejections for legitimately large archives. Restricting the document-ingestion endpoint to trusted submitters or an authenticated queue reduces exposure while the upgrade is pending, and lowering MetsGbsBackendOptions.max_member_count below the default gives no protection on the unfixed code paths, since the limit is only consulted after the full member list has already been allocated.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Docling is a document-processing library that parses many input formats and hands them to generative-AI pipelines; among its backends is METS-GBS, which consumes gzipped tar archives containing METS metadata plus per-page image/OCR files. Two code paths used Python's tarfile.TarFile.getmembers(), which eagerly reads every member header and builds the complete member list in memory, and only checked the member count (options.max_member_count) afterwards. In docling/datamodel/document.py the _detect_mets_gbs routine iterated tar.getmembers() during format sniffing, i.e. before the caller's allowed_formats allow-list was consulted; in docling/backend/mets_gbs_backend.py the constructor also enumerated all members before enforcing the limit. Because tar headers are tiny, a compressed archive can cheaply declare hundreds of thousands or millions of empty members, so memory consumption scales with the declared member count rather than with real payload bytes - the amplification pattern classified as CWE-409 (Improper Handling of Highly Compressed Data). This is explicitly described as a residual weakness in the member-count hardening previously added for CVE-2026-44018. The fix (PR #4412, commit ebae65cd71c37c88b36185b406a449b92d8f7ffa, released in v2.131.0) replaces eager enumeration with lazy header reads: the backend now steps through the archive with tar.next(), incrementing the counter and raising ValueError as soon as max_member_count is exceeded, caching only the headers it has seen in self._members, and a new _extract_member helper opens members by name on demand instead of calling TarFile.extractfile(name) (which itself loads the full list). Format detection was similarly changed to iterate the tar object lazily. Regression tests in tests/test_backend_mets_gbs.py confirm that member limiting is now enforced while iterating and that headers beyond the needed page files are never read.
Know when Docling Slim gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Remotely supplied file (AV:N) processed without auth (PR:N) but requires ingestion by a user/pipeline (UI:R); only bounded memory exhaustion, so C:N/I:N and A:L.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 2 pypi packages depend on docling-slim (1 direct, 1 indirect)
Ecosystem-wide dependent count for version 2.92.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Docling Slim
View allLocal file disclosure in Docling allows crafted HTML to embed readable files from the host filesystem into the rendered
Docling 2.94.0 through 2.131.x allows an attacker-supplied LaTeX/TikZ document to read files accessible to the converter
Import-time code execution in Docling 2.27.0 through 2.131.0 lets any distribution already present in the same Python en
Unbounded rowspan/colspan attribute handling in Docling 2.0.0 through 2.130.x lets a deliberately crafted document force
Server-side request forgery in Docling 2.91.0 through 2.131.x lets an attacker-supplied document reach internal services
Docling 2.83.0 through 2.130.x ignores the enable_remote_services=False policy when OCR is configured with KserveV2OcrOp
Docling's HTML backend forwards operator-configured HTTP headers - bearer tokens, API keys, cookies set via HTMLBackendO
Information disclosure in Docling (and the docling-slim distribution) versions 2.16.0 through 2.130.x lets an attacker e
EUVD-2026-92809
GHSA-f4ch-vxwc-3p2m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB