CVE-2005-2536 Command injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary commands via malicious PostScript files due to improper Ghostscript safety options in pstotext.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2005-2536?

CVE-2005-2536 is a high-severity command injection vulnerability in n/a, published on 10 Aug 2005. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

pstotext before 1.8g does not properly use the "-dSAFER" option when calling Ghostscript to extract plain text from PostScript and PDF files, which allows remote attackers to execute arbitrary commands via a malicious PostScript file.

Which versions are affected by CVE-2005-2536?

It affects 1 product.

Products include Pstotext Pstotext.

How do I fix CVE-2005-2536?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2005-2536 being exploited?

There is no known exploitation of CVE-2005-2536 in the wild and no public exploit code.

Sources

Also known as DSA-792-1, GHSA-rgwq-9vqf-cvgq.

Is CVE-2005-2536 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free