High severity7.5NVD Advisory· Published Nov 2, 2026
CVE-2026-120752
CVE-2026-120752
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.
Affected products
1Patches
Vulnerability mechanics
References
6- github.com/pymupdf/PyMuPDF/blob/1.28.2/src/extra.invd
- github.com/pymupdf/PyMuPDF/commit/d4298ead84ceeae1c9065c81cd9a275a1b092f5envd
- github.com/pymupdf/PyMuPDF/issues/5112nvd
- github.com/pymupdf/PyMuPDF/issues/5173nvd
- github.com/pymupdf/PyMuPDF/releases/tag/2.0nvd
- www.vulncheck.com/advisories/pymupdf-1.25.3-before-2.0-stack-buffer-overflow-via-add-freetext-annot-calloutnvd
News mentions
0No linked articles in our index yet.