[ CVE-2026-120752 · Published 2 Nov 2026 ]
Vulnerability in PyMuPDF
CVSS 7.5
EPSS <1%No fix listed yet
[ Description ]Official 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.
[ Fixes ]Fixes and patches
No fix or interim patch is linked from our sources yet. Check the vendor references below and limit exposure of affected systems until a fix is available.
[ References ]References
- github.com/pymupdf/PyMuPDF
- github.com/pymupdf/PyMuPDF/blob/1.28.2/src/extra.i
- github.com/pymupdf/PyMuPDF/commit/d4298ead84ceeae1c9065c81cd9a275a1b092f5e
- github.com/pymupdf/PyMuPDF/issues/5112
- github.com/pymupdf/PyMuPDF/issues/5173
- github.com/pymupdf/PyMuPDF/releases/tag/2.0
- www.vulncheck.com/advisories/pymupdf-1.25.3-before-2.0-stack-buffer-overflow-via-add-fr…