GHSA-f4ch-vxwc-3p2m: Duplicate Advisory Remote Code Execution Vulnerability
MODERATEGHSA-f4ch-vxwc-3p2m is a MODERATE (CVSS 4.3) remote code execution vulnerability (CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves docling: mets-gbs archive member limit enforced after full member enumeration (memory exhaustion during format detection). Remediation is available by upgrading affected packages to version 2.131.0.
GHSA-f4ch-vxwc-3p2m at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L).
How to Fix GHSA-f4ch-vxwc-3p2m
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install docling>=2.131.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show docling
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-f4ch-vxwc-3p2m, inspect your installed packages using pip:
pip show docling
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.131.0), your application is affected.
Note: The pip show docling command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-409: Improper Handling of Highly Compressed Data (Data Amplification), where the product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-f4ch-vxwc-3p2m Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
docling
|
PyPI |
≥ 2.45.0
< 2.131.0
|
2.131.0
|
References
Frequently Asked Questions
What is GHSA-f4ch-vxwc-3p2m?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-f4ch-vxwc-3p2m?
Is docling affected?
What is the CVSS score of GHSA-f4ch-vxwc-3p2m?
What CWE is associated with GHSA-f4ch-vxwc-3p2m?
How can I check PyPI dependencies for GHSA-f4ch-vxwc-3p2m?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f4ch-vxwc-3p2m",
"modified" : "2026-10-06T13:43:11Z",
"published" : "2026-10-06T00:32:49Z",
"withdrawn" : "2026-10-06T13:43:11Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: Docling: METS-GBS archive member limit enforced after full member enumeration (memory exhaustion during format detection)",
"details" : "## 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "docling"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.45.0"
}, {
"fixed" : "2.131.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/docling-project/docling/security/advisories/GHSA-3cr3-8m4c-fpxw"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-105747"
}, {
"type" : "WEB",
"url" : "https://github.com/docling-project/docling/pull/4412"
}, {
"type" : "WEB",
"url" : "https://github.com/docling-project/docling/commit/ebae65cd71c37c88b36185b406a449b92d8f7ffa"
}, {
"type" : "WEB",
"url" : "https://github.com/docling-project/docling/releases/tag/v2.131.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-409" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-06T13:43:11Z",
"nvd_published_at" : "2026-10-05T22:16:57Z"
}
}