CVE-2026-120752

NameCVE-2026-120752
DescriptionPyMuPDF 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pymupdf (PTS)bookworm1.21.1+ds1-1vulnerable
trixie1.25.4+ds1-3+deb13u1vulnerable
forky, sid1.28.2+ds1-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pymupdfsource(unstable)(unfixed)

Notes

https://github.com/pymupdf/PyMuPDF/issues/5112
https://github.com/pymupdf/PyMuPDF/issues/5173
Fixed by: https://github.com/pymupdf/PyMuPDF/commit/d4298ead84ceeae1c9065c81cd9a275a1b092f5e (2.0)

Search for package or bug name: Reporting problems