Advisory

PYSEC-2026-240

Also known as: CVE-2026-44020, GHSA-m88r-rg27-5xfg

Summary

The record has no summary.

Details

Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.13.0 until 2.74.0, the USPTO patent XML parser used the standard xml.sax.parseString() without protection against XML External Entity (XXE) attacks. An attacker could craft malicious USPTO patent XML files with external entity references that could read arbitrary files from the server filesystem, perform Server-Side Request Forgery (SSRF) attacks, or cause denial of service through entity expansion (Billion Laughs attack). The vulnerability affects three USPTO patent format parsers: ICE (v4.x), Grant v2.5, and Application v1.x. This vulnerability is fixed in 2.74.0.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-06-24 18:17 UTC
Modified
2026-06-27 11:15 UTC

Affected packages and fixes

docling

PyPI · All systems

Affected

  • introduced 2.13.0, fixed 2.74.0 (ecosystem)

Fixed versions

2.74.0

Fix

  • Fixed version 2.74.0
    pip install --upgrade docling==2.74.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences