CVE-2026-120752: high-severity vulnerability in PyMuPDF
PyMuPDF 1.25.3 before 2.0 Stack Buffer Overflow via add_freetext_annot() Callout
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.7epss 0.5%
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.
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
Affected products
PyMuPDF · PyMuPDFRelated CVEs — PyMuPDF
In the same product, most dangerous first.
References
https://github.com/pymupdf/PyMuPDFhttps://github.com/pymupdf/PyMuPDF/blob/1.28.2/src/extra.i#L787-L797https://github.com/pymupdf/PyMuPDF/commit/d4298ead84ceeae1c9065c81cd9a275a1b092f5ehttps://github.com/pymupdf/PyMuPDF/issues/5112https://github.com/pymupdf/PyMuPDF/issues/5173https://github.com/pymupdf/PyMuPDF/releases/tag/2.0