{"id":"CVE-2026-120752","published":"2026-11-02T23:17:20.243","lastModified":"2026-11-02T23:17:20.243","description":"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.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-121"],"vendors":[],"products":[],"references":[{"url":"https://github.com/pymupdf/PyMuPDF","tags":[]},{"url":"https://github.com/pymupdf/PyMuPDF/blob/1.28.2/src/extra.i#L787-L797","tags":[]},{"url":"https://github.com/pymupdf/PyMuPDF/commit/d4298ead84ceeae1c9065c81cd9a275a1b092f5e","tags":[]},{"url":"https://github.com/pymupdf/PyMuPDF/issues/5112","tags":[]},{"url":"https://github.com/pymupdf/PyMuPDF/issues/5173","tags":[]},{"url":"https://github.com/pymupdf/PyMuPDF/releases/tag/2.0","tags":[]},{"url":"https://www.vulncheck.com/advisories/pymupdf-1.25.3-before-2.0-stack-buffer-overflow-via-add-freetext-annot-callout","tags":[]}],"exploitRefs":[{"url":"https://github.com/pymupdf/PyMuPDF","tags":[]},{"url":"https://github.com/pymupdf/PyMuPDF/blob/1.28.2/src/extra.i#L787-L797","tags":[]},{"url":"https://github.com/pymupdf/PyMuPDF/commit/d4298ead84ceeae1c9065c81cd9a275a1b092f5e","tags":[]},{"url":"https://github.com/pymupdf/PyMuPDF/issues/5112","tags":[]},{"url":"https://github.com/pymupdf/PyMuPDF/issues/5173","tags":[]},{"url":"https://github.com/pymupdf/PyMuPDF/releases/tag/2.0","tags":[]}],"hasPoc":true,"ai":null}