CVE-2004-1717 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code by tricking users into opening a malicious PostScript file with a long header value in Ghostview.

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-2004-1717?

CVE-2004-1717 is a high-severity memory corruption vulnerability in n/a, published on 26 Feb 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

Multiple buffer overflows in the psscan function in ps.c for gv (ghostview) allow remote attackers to execute arbitrary code via a Postscript file with a long (1) BoundingBox, (2) comment, (3) Orientation, (4) PageOrder, or (5) Pages value.

Which versions are affected by CVE-2004-1717?

It affects 1 product.

Products include Gv Gv.

How do I fix CVE-2004-1717?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2004-1717 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-1717 exists.

Public exploit code: 2 Exploit-DB entries.

Sources

Also known as DEBIAN-CVE-2004-1717, GHSA-xwc7-g658-j4rq.

Is CVE-2004-1717 in your software?

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

Check your SBOMs for free