{"id":"CVE-2026-44020","aliases":["GHSA-m88r-rg27-5xfg","PYSEC-2026-240"],"summary":"Docling: Unsafe XML Entity Expansion in USPTO Patent Backend","published_at":"2026-06-03T21:14:15Z","modified_at":"2026-08-28T18:45:06.829347Z","products":[],"rating":{"severity":"critical","score":9.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.006010000128298998,"percentile":0.4956200122833252,"date":"2026-11-19T00:00:00Z"},"priority":11.4,"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"docling-project/docling","versions":[">= 2.13.0, < 2.74.0"],"provider":"cvelistv5","source":"CVE-2026-44020","relation":"self"},{"ecosystem":"NVD","package":"docling:docling","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.13.0"},{"fixed":"2.74.0"}]}],"fixed":["2.74.0"],"provider":"nvd","source":"CVE-2026-44020","relation":"self"},{"ecosystem":"PyPI","package":"docling","purl":"pkg:pypi/docling","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.13.0"},{"fixed":"2.74.0"}]}],"versions":["2.13.0","2.14.0","2.15.0","2.15.1","2.16.0","2.17.0","2.18.0","2.19.0","2.20.0","2.21.0","2.22.0","2.23.0","2.23.1","2.24.0","2.25.0","2.25.1","2.25.2","2.26.0","2.27.0","2.28.0","2.28.1","2.28.2","2.28.3","2.28.4","2.29.0","2.30.0","2.31.0","2.31.1","2.31.2","2.32.0","2.33.0","2.34.0","2.35.0","2.36.0","2.36.1","2.37.0","2.38.0","2.38.1","2.39.0","2.40.0","2.41.0","2.42.0","2.42.1","2.42.2","2.43.0","2.44.0","2.45.0","2.46.0","2.47.0","2.47.1","2.48.0","2.49.0","2.50.0","2.51.0","2.52.0","2.53.0","2.54.0","2.55.0","2.55.1","2.56.0","2.56.1","2.57.0","2.58.0","2.59.0","2.60.0","2.60.1","2.61.0","2.61.1","2.61.2","2.62.0","2.63.0","2.64.0","2.64.1","2.65.0","2.66.0","2.67.0","2.68.0","2.69.0","2.69.1","2.70.0","2.71.0","2.72.0","2.73.0","2.73.1"],"fixed":["2.74.0"],"provider":"osv","source":"GHSA-m88r-rg27-5xfg","relation":"self"},{"ecosystem":"PyPI","package":"docling","purl":"pkg:pypi/docling","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.13.0"},{"fixed":"2.74.0"}]}],"versions":["2.13.0","2.14.0","2.15.0","2.15.1","2.16.0","2.17.0","2.18.0","2.19.0","2.20.0","2.21.0","2.22.0","2.23.0","2.23.1","2.24.0","2.25.0","2.25.1","2.25.2","2.26.0","2.27.0","2.28.0","2.28.1","2.28.2","2.28.3","2.28.4","2.29.0","2.30.0","2.31.0","2.31.1","2.31.2","2.32.0","2.33.0","2.34.0","2.35.0","2.36.0","2.36.1","2.37.0","2.38.0","2.38.1","2.39.0","2.40.0","2.41.0","2.42.0","2.42.1","2.42.2","2.43.0","2.44.0","2.45.0","2.46.0","2.47.0","2.47.1","2.48.0","2.49.0","2.50.0","2.51.0","2.52.0","2.53.0","2.54.0","2.55.0","2.55.1","2.56.0","2.56.1","2.57.0","2.58.0","2.59.0","2.60.0","2.60.1","2.61.0","2.61.1","2.61.2","2.62.0","2.63.0","2.64.0","2.64.1","2.65.0","2.66.0","2.67.0","2.68.0","2.69.0","2.69.1","2.70.0","2.71.0","2.72.0","2.73.0","2.73.1"],"fixed":["2.74.0"],"provider":"osv","source":"PYSEC-2026-240","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","status":"fixed","packages":["rhoai/odh-autorag-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:60520"],"provider":"redhat-vex","source":"CVE-2026-44020"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","status":"not_affected","packages":["rhoai/odh-ai-gateway-payload-processing-rhel9","rhoai/odh-automl-rhel9","rhoai/odh-built-in-detector-rhel9","rhoai/odh-cli-rhel9","rhoai/odh-dashboard-rhel9","rhoai/odh-data-science-pipelines-argo-argoexec-rhel9","rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9","rhoai/odh-data-science-pipelines-operator-controller-rhel9","rhoai/odh-eval-hub-rhel9","rhoai/odh-feast-operator-rhel9","rhoai/odh-feature-server-rhel9","rhoai/odh-fms-guardrails-orchestrator-rhel9","rhoai/odh-guardrails-detector-huggingface-runtime-rhel9","rhoai/odh-kf-notebook-controller-rhel9","rhoai/odh-kserve-agent-rhel9","rhoai/odh-kserve-autogluon-server-rhel9","rhoai/odh-kserve-controller-rhel9","rhoai/odh-kserve-llmisvc-controller-rhel9","rhoai/odh-kserve-router-rhel9","rhoai/odh-kserve-storage-initializer-rhel9","rhoai/odh-kube-auth-proxy-rhel9","rhoai/odh-kuberay-operator-controller-rhel9","rhoai/odh-llama-stack-core-rhel9","rhoai/odh-llama-stack-k8s-operator-rhel9","rhoai/odh-llm-d-batch-gateway-apiserver-rhel9"],"package_count":105,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-44020"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-44020","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-44020","license":"CC-BY-4.0","published_at":"2026-06-24T17:45:46.644Z","modified_at":"2026-08-28T12:04:31.876Z","summary":"Docling: Unsafe XML Entity Expansion in USPTO Patent Backend","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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2026-44020"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","source":"redhat-SADP:CVE-2026-44020"}],"affected":[{"ecosystem":"CVE","package":"docling-project/docling","versions":[">= 2.13.0, < 2.74.0"],"provider":"cvelistv5","source":"CVE-2026-44020","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/docling-project/docling/security/advisories/GHSA-m88r-rg27-5xfg"}]},{"provider":"nvd","source_id":"CVE-2026-44020","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44020","severity":[],"affected":[{"ecosystem":"NVD","package":"docling:docling","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.13.0"},{"fixed":"2.74.0"}]}],"fixed":["2.74.0"],"provider":"nvd","source":"CVE-2026-44020","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-m88r-rg27-5xfg","relation":"self","url":"https://osv.dev/vulnerability/GHSA-m88r-rg27-5xfg","license":"CC-BY-4.0","published_at":"2026-06-03T21:14:15Z","modified_at":"2026-08-28T18:45:06.829347Z","summary":"Docling: Unsafe XML Entity Expansion in USPTO Patent Backend","details":"### 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)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GHSA-m88r-rg27-5xfg"}],"affected":[{"ecosystem":"PyPI","package":"docling","purl":"pkg:pypi/docling","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.13.0"},{"fixed":"2.74.0"}]}],"versions":["2.13.0","2.14.0","2.15.0","2.15.1","2.16.0","2.17.0","2.18.0","2.19.0","2.20.0","2.21.0","2.22.0","2.23.0","2.23.1","2.24.0","2.25.0","2.25.1","2.25.2","2.26.0","2.27.0","2.28.0","2.28.1","2.28.2","2.28.3","2.28.4","2.29.0","2.30.0","2.31.0","2.31.1","2.31.2","2.32.0","2.33.0","2.34.0","2.35.0","2.36.0","2.36.1","2.37.0","2.38.0","2.38.1","2.39.0","2.40.0","2.41.0","2.42.0","2.42.1","2.42.2","2.43.0","2.44.0","2.45.0","2.46.0","2.47.0","2.47.1","2.48.0","2.49.0","2.50.0","2.51.0","2.52.0","2.53.0","2.54.0","2.55.0","2.55.1","2.56.0","2.56.1","2.57.0","2.58.0","2.59.0","2.60.0","2.60.1","2.61.0","2.61.1","2.61.2","2.62.0","2.63.0","2.64.0","2.64.1","2.65.0","2.66.0","2.67.0","2.68.0","2.69.0","2.69.1","2.70.0","2.71.0","2.72.0","2.73.0","2.73.1"],"fixed":["2.74.0"],"provider":"osv","source":"GHSA-m88r-rg27-5xfg","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/docling-project/docling/security/advisories/GHSA-m88r-rg27-5xfg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44020"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:60520"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-44020"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2492456"},{"type":"PACKAGE","url":"https://github.com/docling-project/docling"},{"type":"WEB","url":"https://github.com/docling-project/docling/releases/tag/v2.74.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/docling/PYSEC-2026-240.yaml"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44020.json"}]},{"provider":"osv","source_id":"PYSEC-2026-240","relation":"self","url":"https://osv.dev/vulnerability/PYSEC-2026-240","license":"CC-BY-4.0","published_at":"2026-06-24T18:17:17.467Z","modified_at":"2026-06-27T11:15:05.213146Z","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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"PYSEC-2026-240"}],"affected":[{"ecosystem":"PyPI","package":"docling","purl":"pkg:pypi/docling","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.13.0"},{"fixed":"2.74.0"}]}],"versions":["2.13.0","2.14.0","2.15.0","2.15.1","2.16.0","2.17.0","2.18.0","2.19.0","2.20.0","2.21.0","2.22.0","2.23.0","2.23.1","2.24.0","2.25.0","2.25.1","2.25.2","2.26.0","2.27.0","2.28.0","2.28.1","2.28.2","2.28.3","2.28.4","2.29.0","2.30.0","2.31.0","2.31.1","2.31.2","2.32.0","2.33.0","2.34.0","2.35.0","2.36.0","2.36.1","2.37.0","2.38.0","2.38.1","2.39.0","2.40.0","2.41.0","2.42.0","2.42.1","2.42.2","2.43.0","2.44.0","2.45.0","2.46.0","2.47.0","2.47.1","2.48.0","2.49.0","2.50.0","2.51.0","2.52.0","2.53.0","2.54.0","2.55.0","2.55.1","2.56.0","2.56.1","2.57.0","2.58.0","2.59.0","2.60.0","2.60.1","2.61.0","2.61.1","2.61.2","2.62.0","2.63.0","2.64.0","2.64.1","2.65.0","2.66.0","2.67.0","2.68.0","2.69.0","2.69.1","2.70.0","2.71.0","2.72.0","2.73.0","2.73.1"],"fixed":["2.74.0"],"provider":"osv","source":"PYSEC-2026-240","relation":"self"}],"product_status":[],"references":[{"type":"FIX","url":"https://github.com/docling-project/docling/security/advisories/GHSA-m88r-rg27-5xfg"}]},{"provider":"redhat-vex","source_id":"CVE-2026-44020","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-44020","license":"CC-BY-4.0","published_at":"2026-06-24T17:45:46.644Z","modified_at":"2026-06-25T19:15:06.638377Z","summary":"docling: Docling: Information disclosure via XML External Entity (XXE) vulnerability","details":"A flaw was found in docling. An attacker could exploit an XML External Entity (XXE) vulnerability in the USPTO patent XML parser by crafting malicious XML files. This could allow the attacker to read arbitrary files from the server's filesystem, perform Server-Side Request Forgery (SSRF) attacks, or cause a denial of service by consuming system resources through entity expansion.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","source":"CVE-2026-44020"},{"type":"Red Hat","score":"Important","source":"CVE-2026-44020"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","status":"fixed","packages":["rhoai/odh-autorag-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:60520"],"provider":"redhat-vex","source":"CVE-2026-44020"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","status":"not_affected","packages":["rhoai/odh-ai-gateway-payload-processing-rhel9","rhoai/odh-automl-rhel9","rhoai/odh-built-in-detector-rhel9","rhoai/odh-cli-rhel9","rhoai/odh-dashboard-rhel9","rhoai/odh-data-science-pipelines-argo-argoexec-rhel9","rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9","rhoai/odh-data-science-pipelines-operator-controller-rhel9","rhoai/odh-eval-hub-rhel9","rhoai/odh-feast-operator-rhel9","rhoai/odh-feature-server-rhel9","rhoai/odh-fms-guardrails-orchestrator-rhel9","rhoai/odh-guardrails-detector-huggingface-runtime-rhel9","rhoai/odh-kf-notebook-controller-rhel9","rhoai/odh-kserve-agent-rhel9","rhoai/odh-kserve-autogluon-server-rhel9","rhoai/odh-kserve-controller-rhel9","rhoai/odh-kserve-llmisvc-controller-rhel9","rhoai/odh-kserve-router-rhel9","rhoai/odh-kserve-storage-initializer-rhel9","rhoai/odh-kube-auth-proxy-rhel9","rhoai/odh-kuberay-operator-controller-rhel9","rhoai/odh-llama-stack-core-rhel9","rhoai/odh-llama-stack-k8s-operator-rhel9","rhoai/odh-llm-d-batch-gateway-apiserver-rhel9"],"package_count":105,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-44020"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44020.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-44020"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2492456"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-44020"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44020"},{"type":"WEB","url":"https://github.com/docling-project/docling/security/advisories/GHSA-m88r-rg27-5xfg"}]}],"references":[{"type":"WEB","url":"https://github.com/docling-project/docling/security/advisories/GHSA-m88r-rg27-5xfg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44020"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:60520"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-44020"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2492456"},{"type":"PACKAGE","url":"https://github.com/docling-project/docling"},{"type":"WEB","url":"https://github.com/docling-project/docling/releases/tag/v2.74.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/docling/PYSEC-2026-240.yaml"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44020.json"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-44020"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-44020","url":"https://www.cve.org/CVERecord?id=CVE-2026-44020","license":"CC-BY-4.0","modified_at":"2026-08-28T12:04:31.876Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-44020","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44020","relation":"self"},{"provider":"osv","source_id":"GHSA-m88r-rg27-5xfg","url":"https://osv.dev/vulnerability/GHSA-m88r-rg27-5xfg","license":"CC-BY-4.0","modified_at":"2026-08-28T18:45:06.829347Z","relation":"self"},{"provider":"osv","source_id":"PYSEC-2026-240","url":"https://osv.dev/vulnerability/PYSEC-2026-240","license":"CC-BY-4.0","modified_at":"2026-06-27T11:15:05.213146Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-44020","url":"https://access.redhat.com/security/cve/CVE-2026-44020","license":"CC-BY-4.0","modified_at":"2026-06-25T19:15:06.638377Z","relation":"self"}]}
