{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.25.3"
                  },
                  {
                    "fixed": "2.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "d4298ead84ceeae1c9065c81cd9a275a1b092f5e"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "2.0",
                "range": [
                  {
                    "fixed": "b8904b27efa0c4e2258f0e46ab4498a6173ffa22"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "d84e90c3d9048f060ebc356e6aefdf33a5644624"
            },
            {
              "fixed": "b8904b27efa0c4e2258f0e46ab4498a6173ffa22"
            },
            {
              "fixed": "d4298ead84ceeae1c9065c81cd9a275a1b092f5e"
            }
          ],
          "repo": "https://github.com/pymupdf/pymupdf",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-121"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120752.json"
  },
  "details": "PyMuPDF 1.25.3 before 2.0 contains a stack-based buffer overflow vulnerability in JM_set_annot_callout_line() that copies a caller-supplied number of callout points into a fixed three-element stack array. Attackers who control the callout argument passed to Page.add_freetext_annot() can supply four or more points to overwrite the stack frame, crashing the process or executing code.",
  "id": "CVE-2026-120752",
  "modified": "2026-11-08T02:30:17.380275008Z",
  "published": "2026-11-02T22:16:12.885Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120752.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/pymupdf/PyMuPDF/releases/tag/2.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120752"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/pymupdf-1.25.3-before-2.0-stack-buffer-overflow-via-add-freetext-annot-callout"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/pymupdf/PyMuPDF/issues/5112"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/pymupdf/PyMuPDF/issues/5173"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pymupdf/PyMuPDF/commit/d4298ead84ceeae1c9065c81cd9a275a1b092f5e"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/pymupdf/PyMuPDF"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/pymupdf/PyMuPDF/blob/1.28.2/src/extra.i#L787-L797"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "PyMuPDF 1.25.3 before 2.0 Stack Buffer Overflow via add_freetext_annot() Callout"
}