CVE-2002-0838 Memory corruption in n/a

Medium 4.6 Published Updated

Attackers can execute arbitrary code by tricking users into opening malformed PDF or PostScript files in vulnerable viewers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2002-0838?

CVE-2002-0838 is a medium-severity memory corruption vulnerability in n/a, published on 1 Oct 2002. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Buffer overflow in (1) gv 3.5.8 and earlier, (2) gvv 1.0.2 and earlier, (3) ggv 1.99.90 and earlier, (4) gnome-gv, and (5) kghostview in kdegraphics 2.2.2 and earlier, allows attackers to execute arbitrary code via a malformed (a) PDF or (b) PostScript file, which is processed by an unsafe call to sscanf.

Which versions are affected by CVE-2002-0838?

It affects 3 products.

Products include Ggv Ggv, Ghostview Ghostview, Gv Gv.

How do I fix CVE-2002-0838?

Apply the vendor's patch.

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

Is CVE-2002-0838 being exploited?

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

Public exploit code: 2 Exploit-DB entries.

Sources

Also known as DEBIAN-CVE-2002-0838, DSA-176, DSA-179, DSA-182, GHSA-8534-65wr-c3fm.

Is CVE-2002-0838 in your software?

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

Check your SBOMs for free