CVE-2026-82035PyMuPDF 1.28.2 Path Traversal via extract_objects() Font Branch
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | pymupdf | Fix pending | UBUNTU-CVE-2026-82035 | |
| Ubuntu 26.04 | pymupdf | Under investigation | UBUNTU-CVE-2026-82035 | |
| Ubuntu 24.04 | pymupdf | Under investigation | UBUNTU-CVE-2026-82035 | |
| Ubuntu 22.04 | pymupdf | Under investigation | UBUNTU-CVE-2026-82035 | |
| Ubuntu 20.04 | pymupdf | Fix pending | UBUNTU-CVE-2026-82035 | |
| Debian 14 | pymupdf | Fixed | 2.1+ds1-1 | DEBIAN-CVE-2026-82035 |
| Debian 13 | pymupdf | Fix pending | DEBIAN-CVE-2026-82035 | |
| Debian 12 | pymupdf | Fix pending | DEBIAN-CVE-2026-82035 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- PyMuPDF: affected: up to 1.8.2, b2c8f3a859fed35c379a44df566f770dc3e18605 not affected
Vendor advisories:
References
- https://github.com/pymupdf/PyMuPDF/commit/b2c8f3a859fed35c379a44df566f770dc3e18605
- https://www.vulncheck.com/advisories/pymupdf-path-traversal-via-extract-objects-font-branch
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.