Description
Poppler pdfdetach 24.03.0 through 26.11.0 contains a path traversal vulnerability in utils/pdfdetach.cc that allows attackers to write files outside the output directory by bypassing a string-prefix containment check. Attackers can craft PDFs with embedded file names containing '..' sequences or absolute paths, so -saveall or -savefile extraction creates or overwrites files with the invoking user's privileges.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| freedesktop | poppler | 24.03.0 – ≤ 26.11.0 | — |
References
- https://gitlab.freedesktop.org/poppler/poppler/-/work_items/1826 issue-tracking
- https://gitlab.freedesktop.org/poppler/poppler/-/blob/poppler-26.11.0/utils/pdfdetach.cc#L221-227 technical-description
- https://gitlab.freedesktop.org/poppler/poppler/-/commit/d8e7a8a9dd4ddd642c35f5fd1538396be2a68aa9 technical-description
- VulnCheck Advisory: Poppler pdfdetach 24.03.0 through 26.11.0 Path Traversal via Embedded File Names third-party-advisory