{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "1.1.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "687503dd15592483c4699ee51280b41938579a9e"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "2d8e244bd051634704ed9e69a70dd975ce166c78"
            },
            {
              "fixed": "687503dd15592483c4699ee51280b41938579a9e"
            }
          ],
          "repo": "https://github.com/mindee/doctr",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-502"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112304.json"
  },
  "details": "docTR through 1.1.0 contains an unsafe deserialization vulnerability in load_pretrained_params() that loads checkpoints with torch.load without weights_only=True. Attackers who control a local or URL-supplied checkpoint can embed a malicious pickle payload to execute Python code with the loading process's privileges on torch releases before 2.6.",
  "id": "CVE-2026-112304",
  "modified": "2026-10-21T02:30:58.620619274Z",
  "published": "2026-10-19T15:28:54.688Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112304.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/mindee/doctr"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/mindee/doctr/blob/v1.1.0/doctr/models/utils/pytorch.py"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mindee/doctr/commit/687503dd15592483c4699ee51280b41938579a9e"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/mindee/doctr/issues/2175"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-112304"
    },
    {
      "type": "WEB",
      "url": "https://pypi.org"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/doctr-through-1.1.0-unsafe-deserialization-rce-via-load-pretrained-params"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "docTR through 1.1.0 Unsafe Deserialization RCE via load_pretrained_params()"
}