
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-82035 is a path traversal vulnerability in PyMuPDF (versions through 1.28.2) affecting the font branch of the extract_objects() function in src/__main__.py. The flaw allows an attacker to supply a crafted PDF, EPUB, XPS, or FB2 file with a malicious BaseFont name containing encoded path separators (e.g., ../ sequences or absolute paths), causing arbitrary file writes outside the intended output directory. No authentication or elevated privileges are required, though user interaction (opening a malicious document) is needed. The vulnerability was disclosed on September 14, 2026, and carries a CVSS v3.1 base score of 7.1 (High) (Red Hat Advisory, VulnCheck Advisory).
The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory — 'Path Traversal'). In the vulnerable code path within extract_objects(), the output filename is constructed by directly joining the document-controlled BaseFont name onto the user-supplied output directory using os.path.join(), without first stripping path separators (/, \) or dot-dot sequences. A crafted document can embed a BaseFont value such as ../../etc/cron.d/malicious, which, when joined with the output directory, resolves to a path outside the intended directory. The fix (commit b2c8f3a) sanitizes the font name by replacing /, \, and space characters with - before constructing the output path (GitHub Commit, Red Hat Advisory).
Successful exploitation allows an attacker to write arbitrary files to any location accessible by the process running PyMuPDF, limited only by the operating system's file permissions. This poses a high integrity risk — attackers could overwrite configuration files, inject malicious scripts, or plant web shells in web-accessible directories. Availability impact is rated low, as file overwrites could corrupt application data or disrupt services. There is no direct confidentiality impact from this vulnerability (Red Hat Advisory, VulnCheck Advisory).
As of the disclosure date (September 14, 2026), there is no evidence of in-the-wild exploitation, no public proof-of-concept code, and no CISA KEV catalog listing for this CVE. The EPSS score is 0.0, reflecting a currently low probability of exploitation in the near term. Exploitation is not fully automated (user interaction is required to process the malicious document), which limits mass exploitation potential (Red Hat Advisory, VulnCheck Advisory).
BaseFont name contains path traversal sequences, such as ../../target/directory/malicious_file or an absolute path like /etc/cron.d/backdoor.extract_objects() CLI functionality (e.g., via email, file share, or upload to a document processing service).python -m fitz extract -output /safe/output/dir malicious.pdf.BaseFont name with the output directory, resolving to a path outside the intended directory (e.g., /safe/output/dir/../../target/directory/malicious_file)./etc/, web root directories, or user home directories; files with font-related extensions (.ttf, .otf, .cff, .woff) in unusual locations.python -m fitz) writing files to paths containing .. sequences or absolute paths outside the expected output directory; OS-level audit logs (e.g., auditd) recording file creation events by the Python process in unexpected directories.extract_objects functionality against externally supplied documents, especially in automated document processing pipelines.Users should upgrade PyMuPDF to a version that includes commit b2c8f3a859fed35c379a44df566f770dc3e18605, which sanitizes font names by replacing /, \, and space characters with - before constructing output file paths. As a workaround, avoid processing untrusted PDF, EPUB, XPS, or FB2 documents with PyMuPDF's extract_objects() functionality until patched. Additionally, running PyMuPDF document processing in a sandboxed environment with restricted filesystem permissions can limit the impact of exploitation (GitHub Commit, VulnCheck Advisory).
Fix availability across major Linux distributions and their releases.
devel
pymupdf
focal (esm-apps)
pymupdf
jammy
pymupdf
jammy (esm-apps)
pymupdf
noble
pymupdf
noble (esm-apps)
pymupdf
resolute
pymupdf
resolute (esm-apps)
pymupdf
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."