DEBIAN-CVE-2026-82035
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.
DEBIAN-CVE-2026-82035
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-82035
pymupdf
Source reference: /affected/0/package/name
- Affected versions
- 1.21.1+ds1-1
Source reference:
/affected/0/versions1.22.5+ds1-1Source reference:
/affected/0/versions1.23.7+ds1-1Source reference:
/affected/0/versions1.24.2+ds1-1Source reference:
/affected/0/versions1.24.2+ds1-2Source reference:
/affected/0/versions1.24.2+ds1-3Source reference:
/affected/0/versions1.25.0+ds1-1Source reference:
/affected/0/versions1.25.0+ds1-2Source reference:
/affected/0/versions1.25.4+ds1-1Source reference:
/affected/0/versions1.25.4+ds1-2Source reference:
/affected/0/versions1.25.4+ds1-3Source reference:
/affected/0/versions1.25.4+ds1-4Source reference:
/affected/0/versions1.26.7+ds1-1Source reference:
/affected/0/versions1.28.2+ds1-1Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
pymupdf
Source reference: /affected/1/package/name
- Affected versions
- 1.25.4+ds1-3
Source reference:
/affected/1/versions1.25.4+ds1-3+deb13u1Source reference:
/affected/1/versions1.25.4+ds1-4Source reference:
/affected/1/versions1.26.7+ds1-1Source reference:
/affected/1/versions1.28.2+ds1-1Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
pymupdf
Source reference: /affected/2/package/name
- Affected versions
- 1.25.4+ds1-3
Source reference:
/affected/2/versions1.25.4+ds1-4Source reference:
/affected/2/versions1.26.7+ds1-1Source reference:
/affected/2/versions1.28.2+ds1-1Source reference:
/affected/2/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pymupdf",
"purl": "pkg:deb/debian/pymupdf?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1.21.1+ds1-1",
"1.22.5+ds1-1",
"1.23.7+ds1-1",
"1.24.2+ds1-1",
"1.24.2+ds1-2",
"1.24.2+ds1-3",
"1.25.0+ds1-1",
"1.25.0+ds1-2",
"1.25.4+ds1-1",
"1.25.4+ds1-2",
"1.25.4+ds1-3",
"1.25.4+ds1-4",
"1.26.7+ds1-1",
"1.28.2+ds1-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-82035.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pymupdf",
"purl": "pkg:deb/debian/pymupdf?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"1.25.4+ds1-3",
"1.25.4+ds1-3+deb13u1",
"1.25.4+ds1-4",
"1.26.7+ds1-1",
"1.28.2+ds1-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-82035.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pymupdf",
"purl": "pkg:deb/debian/pymupdf?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"1.25.4+ds1-3",
"1.25.4+ds1-4",
"1.26.7+ds1-1",
"1.28.2+ds1-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-82035.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #15021 · Revision 1
- Added to Heist Feed
- Publisher date