cve.bz

CVE-2026-82035 pymupdf pymupdf: Path traversal

7.1 highEPSS 0.3%

High (7.1) in pymupdf pymupdf. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

7.1 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

CVSS 3.1

7.1 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-09-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-82035 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-82035?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-82035?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-82035 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
PyMuPDFthrough 1.8.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13pymupdfno fix listedDEBIAN-CVE-2026-82035
Debian14pymupdf2.1+ds1-1DEBIAN-CVE-2026-82035
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 2 morepymupdfno fix listedUBUNTU-CVE-2026-82035
openSUSELeap 16.0python-PyMuPDF1.21.1-lp160.6.1openSUSE-SU-2026:21912-1
openSUSETumbleweedpython-PyMuPDF1.28.2-1.1openSUSE-SU-2026:11824-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

A path traversal flaw rated IMPORTANT by Red Hat Product Security affects the PyMuPDF library as bundled in Red Hat Enterprise Linux AI (rhel-ai-3) container images. The vulnerability exists in the font branch of PyMuPDF's extract_objects() function, 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. A remote attacker can supply a specially crafted PDF, EPUB, XPS, or FB2 file whose BaseFont name contains encoded path separators that decode to ../ sequences or absolute paths; when a user processes such a file with PyMuPDF's object extraction, arbitrary files can be written outside the intended output directory without requiring authentication or elevated privileges, resulting in a high impact to integrity and a low impact to availability. Red Hat rated this flaw CVSS 7.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L), which is consistent with the upstream CVSS rating of 7.1; exploitation requires user interaction to process the malicious document. All affected Red Hat Enterprise Linux AI container images ship vulnerable PyMuPDF versions, and remediation is being pursued for the affected streams by the delegated Red Hat Enterprise Linux AI product team.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-gaudi-rhel9Will not fix
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-rocm-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/disk-image-cuda-rhel9Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-82035.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON