XML Entity Expansion Affecting docling package, versions [2.13.0,2.74.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-DOCLING-17151850
  • published4 Jun 2026
  • disclosed3 Jun 2026
  • creditUnknown

Introduced: 3 Jun 2026

NewCVE-2026-44020  (opens in a new tab)
CWE-776  (opens in a new tab)

How to fix?

Upgrade docling to version 2.74.0 or higher.

Overview

docling is a 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 XML Entity Expansion in backend/xml/uspto_backend.py‎'s use of parseString(). An attacker can cause resource exhaustion or read local filtes by submitting malicious USPTO patent XML files.

CVSS Base Scores

version 4.0
version 3.1