CVE-2026-120752
PyMuPDF 1.25.3 before 2.0 contains a stack-based buffer overflow vulnerability in…
- Risk score
- 45/100
- CVSS
- 7.5 v3.1
- Published
- 2 Nov 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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 o…
- Affected
- See advisory
- Fix
- Upgrade the product to 2.0 or later.
- Exploitation
- No known exploitation
Why it is Yellow
- CVSS 7.5 high
References
- https://github.com/pymupdf/PyMuPDF
- https://github.com/pymupdf/PyMuPDF/blob/1.28.2/src/extra.i#L787-L797
- https://github.com/pymupdf/PyMuPDF/commit/d4298ead84ceeae1c9065c81cd9a275a1b092f5e
- https://github.com/pymupdf/PyMuPDF/issues/5112
- https://github.com/pymupdf/PyMuPDF/issues/5173
- https://github.com/pymupdf/PyMuPDF/releases/tag/2.0
- https://www.vulncheck.com/advisories/pymupdf-1.25.3-before-2.0-stack-buffer-overflow-via-add-freetext-annot-callout
Original 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.
Last activity 2 Nov 2026. Patch Forecast updates every hour.