PyPI
CVE-2026-120752
PyMuPDF 1.25.3 before 2.0 Stack Buffer Overflow via add_freetext_annot() Callout
- Severity
- High 7.7
- Published
- 2 Nov 2026
- Last changed
- 7 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 2.0
- Exploit chance
- 0.5% in the next 30 daysHigher than 46% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Only under certain conditions · Needs a user account · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS 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- Sources
- CVE Program
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 software
| Software | Affected versions |
|---|---|
pymupdfPyPI · osv:PyPI:pymupdf |
|
About pymupdf
- Weekly downloads (PyPI)
- 43,740,907PyPI Stats, 24 Nov 2026
This is the only vulnerability in pymupdf in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-120752