CVE-2008-5078 Memory corruption in n/a
Remote attackers can execute arbitrary code via buffer overflows in GNU enscript when processing malicious EPS files with long filenames.
- 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-2008-5078?
CVE-2008-5078 is a medium-severity memory corruption vulnerability in n/a, published on 19 Dec 2008. 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 (1) recognize_eps_file function (src/psgen.c) and (2) tilde_subst function (src/util.c) in GNU enscript 1.6.1, and possibly earlier, might allow remote attackers to execute arbitrary code via an epsf escape sequence with a long filename.
Weakness: CWE-119
Which versions are affected by CVE-2008-5078?
It affects 1 product.
Products include Gnu Escript.
How do I fix CVE-2008-5078?
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-2008-5078 being exploited?
There is no known exploitation of CVE-2008-5078 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2008-5078, GHSA-x6rc-qrph-cq5h.