Description
A path traversal and arbitrary file write vulnerability exist in the embedded get function in '_main_.py' in PyMuPDF version, 1.26.5.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Artifex Software Inc. *PyMuPDF* | PyMuPDF | 1.26.5 – < 1.26.7 | 1.26.7 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pymupdf | 1.26.7+ds1-1 | — |
| Debian 13 | pymupdf | 1.25.4+ds1-3+deb13u1 | — |
| Debian 12 | pymupdf | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | pymupdf | No fix yet | — |
| Ubuntu 24.04 LTS | pymupdf | No fix yet | — |
| Ubuntu 22.04 LTS | pymupdf | No fix yet | — |
| Ubuntu 20.04 LTS | pymupdf | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-PyMuPDF | 1.27.2.2-1.1 | openSUSE-SU-2026:10416-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | pymupdf | >= 1.26.5, < 1.26.7 | 1.26.7 | GHSA-cxqh-p2w9-fmr7 |
Advisories 1
- openSUSE-SU-2026:10416-1 python313-PyMuPDF-1.27.2.2-1.1 on GA media SUSE / openSUSE Security Updates · Mar 25, 2026