Improper Handling of Highly Compressed Data (Data Amplification) Affecting docling-slim package, versions [2.92.0, 2.131.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-DOCLINGSLIM-20537236
  • published6 Oct 2026
  • disclosed5 Oct 2026
  • creditJonathan Lotan, Jeff Witt

Introduced: 5 Oct 2026

NewCVE-2026-105747  (opens in a new tab)
CWE-409  (opens in a new tab)

How to fix?

Upgrade docling-slim to version 2.131.0 or higher.

Overview

docling-slim is a Modular version of the Docling package: SDK and CLI for parsing PDF, DOCX, HTML, and more, to a unified document representation for powering downstream workflows such as gen AI applications.

Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) via the METS-GBS backend's archive processing in docling/backend/mets_gbs_backend.py, where max_member_count is enforced only after the full member list has been built by TarFile.getmembers(). An attacker can supply a TAR archive containing an excessive number of members, causing the process to read all headers before the limit is applied, leading to unbounded resource consumption and a crash.

CVSS Base Scores

version 4.0
version 3.1