{"id":"CVE-2026-120752","state":"PUBLISHED","title":"PyMuPDF 1.25.3 before 2.0 Stack Buffer Overflow via add_freetext_annot() Callout","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.","publishedAt":"2026-11-02T22:16:12.885Z","updatedAt":"2026-11-07T02:27:07.671Z","severity":{"score":7.7,"label":"High","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["PyMuPDF PyMuPDF"],"affected":[{"vendor":"PyMuPDF","product":"PyMuPDF","packageURL":"pkg:pypi/pymupdf","defaultStatus":"unaffected","versions":[{"version":"1.25.3","status":"affected","lessThan":"2.0","versionType":"custom"}],"repo":"https://github.com/pymupdf/PyMuPDF"}],"references":["https://github.com/pymupdf/PyMuPDF/issues/5112","https://github.com/pymupdf/PyMuPDF/issues/5173","https://github.com/pymupdf/PyMuPDF/commit/d4298ead84ceeae1c9065c81cd9a275a1b092f5e","https://github.com/pymupdf/PyMuPDF/blob/1.28.2/src/extra.i#L787-L797","https://github.com/pymupdf/PyMuPDF/releases/tag/2.0","https://github.com/pymupdf/PyMuPDF","https://www.vulncheck.com/advisories/pymupdf-1.25.3-before-2.0-stack-buffer-overflow-via-add-freetext-annot-callout"],"weaknesses":["CWE-121"],"ingestedAt":"2026-11-07T02:30:06.350Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/120xxx/CVE-2026-120752.json","commit":"875ced8aa082b0f9115b9edc389b30bc363c6a9a","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-120752","state":"PUBLISHED","datePublished":"2026-11-02T22:16:12.885Z","dateUpdated":"2026-11-07T02:27:07.671Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-02T21:08:16.717Z"},"containers":{"cna":{"title":"PyMuPDF 1.25.3 before 2.0 Stack Buffer Overflow via add_freetext_annot() Callout","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"PyMuPDF","product":"PyMuPDF","packageURL":"pkg:pypi/pymupdf","defaultStatus":"unaffected","versions":[{"version":"1.25.3","status":"affected","lessThan":"2.0","versionType":"custom"}],"repo":"https://github.com/pymupdf/PyMuPDF"}],"references":[{"url":"https://github.com/pymupdf/PyMuPDF/issues/5112","tags":["issue-tracking"],"name":"GitHub Issue #5112"},{"url":"https://github.com/pymupdf/PyMuPDF/issues/5173","tags":["issue-tracking","technical-description"],"name":"GitHub Issue #5173"},{"url":"https://github.com/pymupdf/PyMuPDF/commit/d4298ead84ceeae1c9065c81cd9a275a1b092f5e","tags":["patch"],"name":"Patch Commit"},{"url":"https://github.com/pymupdf/PyMuPDF/blob/1.28.2/src/extra.i#L787-L797","tags":["technical-description"]},{"url":"https://github.com/pymupdf/PyMuPDF/releases/tag/2.0","tags":["release-notes"],"name":"PyMuPDF 2.0 Release Notes"},{"url":"https://github.com/pymupdf/PyMuPDF","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/pymupdf-1.25.3-before-2.0-stack-buffer-overflow-via-add-freetext-annot-callout","name":"VulnCheck Advisory: PyMuPDF 1.25.3 before 2.0 Stack Buffer Overflow via add_freetext_annot() Callout","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","lang":"en","description":"Stack-based Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-02T22:16:12.885Z"},"datePublic":"2026-09-07T00:00:00.000Z","credits":[{"lang":"en","value":"k3rn3lbr3ach3r","type":"finder"},{"lang":"en","value":"Dilanka Kaushal Hewage (r3vpwnx)","type":"analyst"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/pymupdf/PyMuPDF/issues/5112","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-07T02:26:40.474256Z","id":"CVE-2026-120752","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-07T02:27:07.671Z"}}]}}}