๐Ÿ” CVE Alert

CVE-2026-120752

HIGH 7.5

PyMuPDF 1.25.3 before 2.0 Stack Buffer Overflow via add_freetext_annot() Callout

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-121
Vendor pymupdf
Product pymupdf
Published Nov 2, 2026
Stay Ahead of the Next One

Get instant alerts for pymupdf pymupdf

Be the first to know when new high vulnerabilities affecting pymupdf pymupdf are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

PyMuPDF / PyMuPDF
1.25.3 < 2.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/pymupdf/PyMuPDF/issues/5112 github.com: https://github.com/pymupdf/PyMuPDF/issues/5173 github.com: https://github.com/pymupdf/PyMuPDF/commit/d4298ead84ceeae1c9065c81cd9a275a1b092f5e github.com: https://github.com/pymupdf/PyMuPDF/blob/1.28.2/src/extra.i#L787-L797 github.com: https://github.com/pymupdf/PyMuPDF/releases/tag/2.0 github.com: https://github.com/pymupdf/PyMuPDF vulncheck.com: https://www.vulncheck.com/advisories/pymupdf-1.25.3-before-2.0-stack-buffer-overflow-via-add-freetext-annot-callout

Credits

k3rn3lbr3ach3r Dilanka Kaushal Hewage (r3vpwnx)