CVE-2009-5018 Memory corruption in n/a
A stack-based buffer overflow in gif2png allows attackers to execute arbitrary code via long command-line arguments, particularly when used in CGI programs.
- 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
- None listed
What is CVE-2009-5018?
CVE-2009-5018 is a medium-severity memory corruption vulnerability in n/a, published on 14 Jan 2011. 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
Stack-based buffer overflow in gif2png.c in gif2png 2.5.3 and earlier might allow context-dependent attackers to execute arbitrary code via a long command-line argument, as demonstrated by a CGI program that launches gif2png.
Weakness: CWE-119
Which versions are affected by CVE-2009-5018?
It affects 1 product.
Products include Catb Gif2png.
How do I fix CVE-2009-5018?
No fix has been published for CVE-2009-5018 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2009-5018 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-5018 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as GHSA-4g27-cp2v-vp66.