JLSEC-2026-2350: Poppler pdfdetach 24.03.0 through 26.11.0 contains a path traversal vulnerability in utils...
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 Software
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What conditions are required to exploit this issue?
An attacker must provide a crafted PDF containing embedded filenames with '..' sequences or absolute paths. A user must then extract attachments with pdfdetach using -saveall or -savefile.
What could an attacker do if exploitation succeeds?
The crafted attachment name can bypass the output-directory containment check, causing files to be created or overwritten outside the intended output directory. Writes occur with the privileges of the user who invokes pdfdetach.
Who is most exposed?
Users or automated workflows that run pdfdetach on untrusted PDFs and use -saveall or -savefile are exposed. The attack requires local execution and user interaction, as reflected by the AV:L and UI:R vector components.