
CVE catalog
CVE-2026-82035
PyMuPDF through 1.28.2, fixed in commit b2c8f3a, contains a path traversal vulnerability in the font branch of extract_objects() in src/__main__.py, where the output filename is constructed by joining
- Severity
- High · CVSS 7.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.32% · Oct 25, 2026
PyMuPDF through 1.28.2, fixed in commit b2c8f3a, contains a path traversal vulnerability in the font branch of extract_objects() in src/__main__.py, where the output filename is constructed by joining a document-controlled BaseFont name directly onto the user-supplied output directory without stripping path separators or dot-dot sequences. Attackers can supply a crafted PDF, EPUB, XPS, or FB2 file with a BaseFont name containing encoded path separators that decode to ../ sequences or absolute paths, causing arbitrary file writes outside the intended output directory without requiring authentication or elevated privileges.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pymupdf | sid | 1.28.2+ds1-1 | vulnerable |
| Debian | pymupdf | forky | 1.28.2+ds1-1 | vulnerable |
| Debian | pymupdf | trixie | 1.25.4+ds1-3+deb13u1 | vulnerable |
| Debian | pymupdf | bookworm | 1.21.1+ds1-1 | vulnerable |
| Opensuse | python-PyMuPDF | leap 16.0 | 1.21.1-lp160.6.1 | fixed |
| Opensuse | python-PyMuPDF | tumbleweed | 1.28.2-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pymupdf | source | sid | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | pymupdf | source | forky | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | pymupdf | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | pymupdf | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Opensuse | python-PyMuPDF | rpm | leap 16.0 | 1.21.1-lp160.6.1 | Not reported | OPENSUSE-SU-2026:21912-1 | Not reported |
| Opensuse | python-PyMuPDF | rpm | tumbleweed | 1.28.2-1.1 | Not reported | OPENSUSE-SU-2026:11824-1 | Not reported |
Notes
[trixie] pymupdf: Minor issue [bookworm] pymupdf: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-fitz]Affected
Source package: [pymupdf]
Details (2)
1.21.1+ds1-1+b4· amd64 · bookwormAffected
nvd · pymupdf · debian · bookworm; nvd · pymupdf · debian · 12
1.21.1+ds1-1+b4· arm64 · bookwormAffected
nvd · pymupdf · debian · bookworm; nvd · pymupdf · debian · 12
[Debian 13 (Trixie)]
- [python3-fitz]Affected
Source package: [pymupdf]
Details (2)
1.25.4+ds1-3+deb13u1· all · trixieAffected
nvd · pymupdf · debian · 13
1.25.4+ds1-3+deb13u1· all · trixieAffected
nvd · pymupdf · debian · 13
- [python3-pymupdf]Affected
Source package: [pymupdf]
Details (2)
1.25.4+ds1-3+deb13u1· amd64 · trixieAffected
nvd · pymupdf · debian · 13
1.25.4+ds1-3+deb13u1· arm64 · trixieAffected
nvd · pymupdf · debian · 13
[openSUSE Tumbleweed]
- [python313-PyMuPDF]Unknown
Source package: [python-PyMuPDF]
Details (1)
1.27.2.2-3.1· x86_64 · tumbleweedUnknown · Fixed:
1.28.2-1.1Version impact unknown
nvd · python-PyMuPDF · opensuse · tumbleweed
- [python313-PyMuPDF-devel]Unknown
Source package: [python-PyMuPDF]
Details (1)
1.27.2.2-3.1· x86_64 · tumbleweedUnknown · Fixed:
1.28.2-1.1Version impact unknown
nvd · python-PyMuPDF · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11824-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-82035]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-82035]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11824-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:21912-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-82035]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-82035.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]