CVE-2026-120752
published high CVSS 4.0 · 7.7PyMuPDF 1.25.3 before 2.0 Stack Buffer Overflow via add_freetext_annot() Callout
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| PyMuPDF | — | PyMuPDF1.25.3 to < 2.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyMuPDFaarch64 | Advisory build | 2.1-1.1 | OPENSUSE-SU-2026:12554-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyMuPDFppc64le | Advisory build | 2.1-1.1 | OPENSUSE-SU-2026:12554-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyMuPDFs390x | Advisory build | 2.1-1.1 | OPENSUSE-SU-2026:12554-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyMuPDFx86_64 | Advisory build | 2.1-1.1 | OPENSUSE-SU-2026:12554-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyMuPDF-develaarch64 | Advisory build | 2.1-1.1 | OPENSUSE-SU-2026:12554-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyMuPDF-develppc64le | Advisory build | 2.1-1.1 | OPENSUSE-SU-2026:12554-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyMuPDF-devels390x | Advisory build | 2.1-1.1 | OPENSUSE-SU-2026:12554-1 |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyMuPDF-develx86_64 | Advisory build | 2.1-1.1 | OPENSUSE-SU-2026:12554-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyMuPDFaarch64 | Advisory build | 2.1-1.1 | OPENSUSE-SU-2026:12554-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyMuPDFppc64le | Advisory build | 2.1-1.1 | OPENSUSE-SU-2026:12554-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyMuPDFs390x | Advisory build | 2.1-1.1 | OPENSUSE-SU-2026:12554-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyMuPDFx86_64 | Advisory build | 2.1-1.1 | OPENSUSE-SU-2026:12554-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyMuPDF-develaarch64 | Advisory build | 2.1-1.1 | OPENSUSE-SU-2026:12554-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyMuPDF-develppc64le | Advisory build | 2.1-1.1 | OPENSUSE-SU-2026:12554-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyMuPDF-devels390x | Advisory build | 2.1-1.1 | OPENSUSE-SU-2026:12554-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyMuPDF-develx86_64 | Advisory build | 2.1-1.1 | OPENSUSE-SU-2026:12554-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| PyMuPDF | PyMuPDF | 1.25.3 to < 2.0 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-121 Stack-based Buffer Overflow
References
7- https://github.com/pymupdf/PyMuPDF
- https://github.com/pymupdf/PyMuPDF/blob/1.28.2/src/extra.i#L787-L797
- Patch Commit https://github.com/pymupdf/PyMuPDF/commit/d4298ead84ceeae1c9065c81cd9a275a1b092f5e
- GitHub Issue #5112 https://github.com/pymupdf/PyMuPDF/issues/5112
- GitHub Issue #5173 https://github.com/pymupdf/PyMuPDF/issues/5173
- PyMuPDF 2.0 Release Notes https://github.com/pymupdf/PyMuPDF/releases/tag/2.0
- VulnCheck Advisory: PyMuPDF 1.25.3 before 2.0 Stack Buffer Overflow via add_freetext_annot() Callout https://www.vulncheck.com/advisories/pymupdf-1.25.3-before-2.0-stack-buffer-overflow-via-add-freetext-annot-callout
Provider assertions
2VulnCheck · cna
PyMuPDF 1.25.3 before 2.0 Stack Buffer Overflow via add_freetext_annot() Callout
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 58cbe124c41daa4f83ac9fad3a2d26191bda0b2c3b2658889de380bb18045c41
- Ingested
- 07 Nov 2026, 23:40:15 UTC
- Source record
- Official CVE record