CVE-2026-120752
PyMuPDF 1.25.3 before 2.0 Stack Buffer Overflow via add_freetext_annot() Callout
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.7
PyMuPDF 1.25.3 before 2.0 Stack Buffer Overflow via add_freetext_annot() Callout
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.
- Record
CVE-2026-120752- CVSS 4.0
- 7.7 High
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 - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-121
- Updated
- 2026-11-07
EUVDEUVD-2026-115640
7.7
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.
- Record
EUVD-2026-115640- CVSS 4.0
- 7.7 High
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 - Updated
- 2026-11-07
GitHub AdvisoriesGHSA-x2mr-6hpr-g257
7.7
PyMuPDF 1.25.3 before 2.0 contains a stack-based buffer overflow vulnerability in...
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.
- Record
GHSA-x2mr-6hpr-g257- CVSS 4.0
- 7.7 High
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-121
- Updated
- 2026-11-03
NVD
7.7
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.
- Record
CVE-2026-120752- CVSS 4.0
- 7.7 High
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-121
- Updated
- 2026-11-07
OSV
7.7
PyMuPDF 1.25.3 before 2.0 Stack Buffer Overflow via add_freetext_annot() Callout
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.
- Record
CVE-2026-120752- CVSS 4.0
- 7.7 High
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 - Weakness
- CWE-121
- Updated
- 2026-11-07
OSVDEBIAN-CVE-2026-120752
7.7
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.
- Record
DEBIAN-CVE-2026-120752- CVSS 4.0
- 7.7 High
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-07
OSVUBUNTU-CVE-2026-120752
7.7
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.
- Record
UBUNTU-CVE-2026-120752- CVSS 4.0
- 7.7 High
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 - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-05
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pymupdfDebian:12 |
All versions, plus listed versions 1.21.1+ds1-11.22.5+ds1-11.23.7+ds1-11.24.2+ds1-11.24.2+ds1-2 Show 9 moreShow less1.24.2+ds1-31.25.0+ds1-11.25.0+ds1-21.25.4+ds1-11.25.4+ds1-21.25.4+ds1-31.25.4+ds1-41.26.7+ds1-11.28.2+ds1-1 |
None known |
pymupdfDebian:13 |
All versions, plus listed versions 1.25.4+ds1-31.25.4+ds1-3+deb13u11.25.4+ds1-41.26.7+ds1-11.28.2+ds1-1 |
None known |
pymupdfDebian:14 |
All versions, plus listed versions 1.25.4+ds1-31.25.4+ds1-41.26.7+ds1-11.28.2+ds1-1 |
None known |
pymupdfUbuntu:20.04:LTS |
All versions, plus listed versions 1.16.11-1 |
None known |
pymupdfUbuntu:22.04:LTS |
All versions, plus listed versions 1.17.4+ds1-2build21.17.4+ds1-2build31.19.2+ds1-1ubuntu1 |
None known |
pymupdfUbuntu:24.04:LTS |
All versions, plus listed versions 1.22.5+ds1-11.22.5+ds1-1build11.22.5+ds1-1build21.23.7+ds1-1ubuntu11.23.7+ds1-1ubuntu2 |
None known |
pymupdfUbuntu:26.10 |
All versions, plus listed versions 1.26.7+ds1-1build1 |
None known |
pymupdfUbuntu:26.04:LTS |
All versions, plus listed versions 1.25.4+ds1-41.26.7+ds1-11.26.7+ds1-1build1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| references | CVE List, EUVD, OSV | |
| affected, aliases, references | OSV | |
| facts | NVD | |
| affected, aliases, references | OSV | |
| references | NVD, OSV | |
| aliases, products, published | EUVD | |
| aliases, references | GitHub Advisories | |
| first indexed | CVE List |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-120752 is a high vulnerability (CVSS 7.7) in Artifex Software Inc. *pymupdf* Pymupdf, published November 2, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.37%, the 31st percentile. No source names a fixed version.
References
github.com/pymupdf/PyMuPDF/issues/5112
github.com/pymupdf/PyMuPDF/issues/5173
github.com/pymupdf/PyMuPDF/commit/d4298ead84ceeae1c9065c81cd9a275a1b092f5e
github.com/pymupdf/PyMuPDF/blob/1.28.2/src/extra.i
github.com/pymupdf/PyMuPDF/releases/tag/2.0
github.com/pymupdf/PyMuPDF
Show 7 moreShow less
vulncheck.com/advisories/pymupdf-1.25.3-before-2.0-stack-buffer-overflow-via-add-freetext-annot-callout
nvd.nist.gov/vuln/detail/CVE-2026-120752
github.com/advisories/GHSA-x2mr-6hpr-g257
github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120752.json
security-tracker.debian.org/tracker/CVE-2026-120752
ubuntu.com/security/CVE-2026-120752
cve.org/CVERecord?id=CVE-2026-120752