{"url":"http://public2.vulnerablecode.io/api/packages/515519?format=json","purl":"pkg:pypi/docling@2.13.0","type":"pypi","namespace":"","name":"docling","version":"2.13.0","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"2.74.0","latest_non_vulnerable_version":"2.94.0","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/91930?format=json","vulnerability_id":"VCID-zxuu-jkrn-tqfa","summary":"Docling: Unsafe XML Entity Expansion in USPTO Patent Backend\n### Impact\nThe 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:\n- Read arbitrary files from the server filesystem\n- Perform Server-Side Request Forgery (SSRF) attacks\n- Cause denial of service through entity expansion (Billion Laughs attack)\n\nThe vulnerability affects three USPTO patent format parsers: ICE (v4.x), Grant v2.5, and Application v1.x.\n\n### Patches\nFixed in version 2.74.0. The parser now uses `defusedxml.sax.make_parser()` with secure configuration that blocks external entity resolution (`feature_external_ges=False`, `feature_external_pes=False`) while allowing DTD declarations required by USPTO files. This prevents XXE attacks while maintaining compatibility with the USPTO XML format.\n\n### Workarounds\nAvoid processing USPTO patent XML files from untrusted sources. Implement resource limits (memory, CPU time) when processing patent documents.\n\n### References\n- Fix release: [v2.74.0](https://github.com/docling-project/docling/releases/tag/v2.74.0)","references":[{"reference_url":"https://github.com/docling-project/docling","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/docling-project/docling"},{"reference_url":"https://github.com/docling-project/docling/releases/tag/v2.74.0","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/docling-project/docling/releases/tag/v2.74.0"},{"reference_url":"https://github.com/docling-project/docling/security/advisories/GHSA-m88r-rg27-5xfg","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/docling-project/docling/security/advisories/GHSA-m88r-rg27-5xfg"},{"reference_url":"https://github.com/advisories/GHSA-m88r-rg27-5xfg","reference_id":"GHSA-m88r-rg27-5xfg","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-m88r-rg27-5xfg"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/114454?format=json","purl":"pkg:pypi/docling@2.74.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/docling@2.74.0"}],"aliases":["CVE-2026-44020","GHSA-m88r-rg27-5xfg"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-zxuu-jkrn-tqfa"}],"fixing_vulnerabilities":[],"risk_score":"4.0","resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/docling@2.13.0"}