CVE-2026-82035: PyMuPDF - Path Traversal
- Cve: CVE-2026-82035
- Name: PyMuPDF - Path Traversal
- Description: 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.
- Impact: Attackers can write arbitrary files outside intended directories, potentially leading to system compromise or data tampering.
- Remediation: Update to a version including commit b2c8f3a or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
- Epss score: 0.00316
- Epss percentile: 0.24926
- Assignee: [email protected]
- Published at: 2026-09-14T19:17:50Z
- Age in days: 71
- Modified at: 2026-09-24T20:44:42Z
- References total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-82035
- Nvd status: awaiting_analysis
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/pymupdf/PyMuPDF/commit/b2c8f3a859fed35c379a44df566f770dc3e18605 | nvd | |
| https://www.vulncheck.com/advisories/pymupdf-path-traversal-via-extract-objects-font-branch | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| pymupdf/PyMuPDF | commit, fix | yes | /v1/repositories/pymupdf/PyMuPDF |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts