CVE-2026-120752: PyMuPDF 1.25.3 before 2.0 Stack Buffer Overflow via add_freetext_annot() Callout

Published Nov 2, 2026
·
Updated

PyMuPDF 1.25.3 before 2.0 contains a stack-based buffer overflow vulnerability in JMsetannotcalloutline() 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.addfreetextannot() can supply four or more points to overwrite the stack frame, crashing the process or executing code.

Affected Software

9 affected components
debian/pymupdf*
debian/pymupdf*
debian/pymupdf*
debian/pymupdf<=1.21.1+ds1-1, <=1.25.4+ds1-3+deb13u1, <=1.28.2+ds1-1
ubuntu/pymupdf*
ubuntu/pymupdf*
ubuntu/pymupdf*
ubuntu/pymupdf*
ubuntu/pymupdf*

Event History

Nov 2, 2026
CVE Published
via OSV·10:16 PM
Data Sourced
via OSV·10:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·11:17 PM
Affected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203