{"id":"UBUNTU-CVE-2026-82035","details":"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.","modified":"2026-09-16T14:03:16.757282030Z","published":"2026-09-14T19:17:00Z","upstream":["CVE-2026-82035"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-82035"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-82035"}],"affected":[{"package":{"name":"pymupdf","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/pymupdf?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16.11-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-fitz","binary_version":"1.16.11-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82035.json"}},{"package":{"name":"pymupdf","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/pymupdf?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17.4+ds1-2build2","1.17.4+ds1-2build3","1.19.2+ds1-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-fitz","binary_version":"1.19.2+ds1-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82035.json"}},{"package":{"name":"pymupdf","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/pymupdf?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.5+ds1-1","1.22.5+ds1-1build1","1.22.5+ds1-1build2","1.23.7+ds1-1ubuntu1","1.23.7+ds1-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-fitz","binary_version":"1.23.7+ds1-1ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82035.json"}},{"package":{"name":"pymupdf","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/pymupdf?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.25.4+ds1-4","1.26.7+ds1-1","1.26.7+ds1-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-fitz","binary_version":"1.26.7+ds1-1build1"},{"binary_version":"1.26.7+ds1-1build1","binary_name":"python3-pymupdf"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82035.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}