Path Traversal Vulnerability in Poppler pdfdetach Affects Multiple Versions
CVE-2026-131842
5.7MEDIUM
What is CVE-2026-131842?
The Poppler pdfdetach tool versions 24.03.0 through 26.11.0 is susceptible to a path traversal vulnerability. This issue arises from improper handling of string-prefix containment checks in the utils/pdfdetach.cc file, allowing attackers to craft malicious PDFs with embedded file names that contain '..' sequences or absolute paths. By exploiting this vulnerability, attackers can execute file extraction commands like -saveall or -savefile, leading to the creation or overwriting of files in directories outside the intended output location, leveraging the privileges of the user invoking the command. This risks unauthorized access to sensitive data and files on affected systems.
Affected Version(s)
poppler 24.03.0 <= 26.11.0
