Skip to content
OpenAdvisories
High · 7.1 CVE-2026-82035 EUVD-2026-77764GHSA-434w-92hw-f2m3

PyMuPDF 1.28.2 Path Traversal via extract_objects() Font Branch

Published Sep 14, 2026 · Updated Sep 14, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
PyMuPDF PyMuPDF ≤ 1.8.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pymupdf No fix yet —
Debian 13 pymupdf No fix yet —
Debian 12 pymupdf No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 pymupdf No fix yet —
Ubuntu 26.04 LTS pymupdf No fix yet —
Ubuntu 24.04 LTS pymupdf No fix yet —
Ubuntu 22.04 LTS pymupdf No fix yet —
Ubuntu 20.04 LTS pymupdf No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-PyMuPDF 1.28.2-1.1 openSUSE-SU-2026:11824-1
openSUSE Leap 16.0 python-PyMuPDF 1.21.1-lp160.6.1 openSUSE-SU-2026:21912-1

Advisories 2

References