CVE-2026-131842
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…
Impact
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.
An attacker can exploit this with local access to the system, without logging in, but a user has to be involved, for example by viewing content. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data or systems being changed.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Freedesktop | Poppler | from 24.03.0 through 26.11.0 |
| Poppler | Poppler | Version 24.03.0 ≤26.11.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://gitlab.freedesktop.org/poppler/poppler/-/work_items/1826
- https://gitlab.freedesktop.org/poppler/poppler/-/blob/poppler-26.11.0/utils/pdfdetach.cc#L221-227
- https://gitlab.freedesktop.org/poppler/poppler/-/commit/d8e7a8a9dd4ddd642c35f5fd1538396be2a68aa9
- https://www.vulncheck.com/advisories/poppler-pdfdetach-24.03.0-through-26.11.0-path-traversal-via-embedded-file-names
- https://github.com/advisories/GHSA-2vvg-qgv7-p92w
- https://nvd.nist.gov/vuln/detail/CVE-2026-131842