GHSA-f4ch-vxwc-3p2m: Duplicate Advisory Remote Code Execution Vulnerability

MODERATE
CVSS 4.3
CWE-409
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-f4ch-vxwc-3p2m
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
Affected Product Duplicate Advisory
Package Ecosystem PyPI
Published Date
Last Updated

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (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.

docling fixed: 2.131.0
pip install docling>=2.131.0
Verify Direct and Transitive Dependencies

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

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-3cr3-8m4c-fpxw. This link is maintained to preserve external references. ## Original 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.

GHSA-f4ch-vxwc-3p2m Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
2.131.0
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?
GHSA-f4ch-vxwc-3p2m is a security vulnerability in Duplicate Advisory involving Docling: METS-GBS archive member limit enforced after full member enumeration (memory exhaustion during format detection) under CWE-409: Improper Handling of Highly Compressed Data (Data Amplification).
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 2.131.0 across affected packages: docling.
What version fixes GHSA-f4ch-vxwc-3p2m?
Upgrading to 2.131.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is docling affected?
Yes, docling is affected in releases prior to 2.131.0. Upgrade your dependency to 2.131.0 or later.
What is the CVSS score of GHSA-f4ch-vxwc-3p2m?
GHSA-f4ch-vxwc-3p2m has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L.
What CWE is associated with GHSA-f4ch-vxwc-3p2m?
GHSA-f4ch-vxwc-3p2m is classified under CWE-409: Improper Handling of Highly Compressed Data (Data Amplification) (The product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output.).
How can I check PyPI dependencies for GHSA-f4ch-vxwc-3p2m?
Run the dependency tree command: 'pip show docling'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}