Poppler arbitrary file overwrite in pdfdetach extraction
freedesktop poppler
freedesktop poppler
| Product | Affected | Fixed in |
|---|---|---|
| freedesktop poppler |
| No fix yet |
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.
From the CVE record · VulnCheck
Poppler pdfdetach 24.03.0 through 26.11.0 has a path traversal vulnerability when extracting embedded files from a crafted PDF. If a user runs pdfdetach with -saveall or -savefile on that PDF, an attacker can create or overwrite files outside the output directory with the user's privileges.
Anyone running Poppler pdfdetach versions 24.03.0 through 26.11.0 should check their installation.