CVE-2009-5018
Stack-based buffer overflow in gif2png.c in gif2png 2.5.3 and earlier might allow context...
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.
Exploit likelihood
What each source reports
NVD Score used
6.8
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.
- Record
CVE-2009-5018- CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2009-5018- Updated
- 2026-11-02
EUVDEUVD-2009-4976 No score
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.
- Record
EUVD-2009-4976- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4g27-cp2v-vp66 No score
Stack-based buffer overflow in gif2png.c in gif2png 2.5.3 and earlier might allow context...
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.
- Record
GHSA-4g27-cp2v-vp66- Weakness
- CWE-119
- Updated
- 2026-11-02
Affected products
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | gif2png 2.5.2 - Remote Buffer Overflow | 2009-12-12 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2009-5018 is a medium vulnerability (CVSS 6.8) in Catb Gif2png, published January 14, 2011. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 10.9%, the 95th percentile. No source names a fixed version.
References
bugzilla.redhat.com/show_bug.cgi?id=547515
openwall.com/lists/oss-security/2010/11/22/12
vupen.com/english/advisories/2011/0023
mandriva.com/security/advisories?name=MDVSA-2011:009
openwall.com/lists/oss-security/2010/11/22/3
secunia.com/advisories/42796
Show 14 moreShow less
bugs.gentoo.org/show_bug.cgi?id=346501
cvs.fedoraproject.org/viewvc/rpms/gif2png/devel/gif2png-overflow.patch?root=extras&view=log
securityfocus.com/bid/41801
vupen.com/english/advisories/2010/3036
openwall.com/lists/oss-security/2010/11/21/1
vupen.com/english/advisories/2011/0107
security.gentoo.org/glsa/glsa-201101-01.xml
openwall.com/lists/oss-security/2010/11/22/1
bugs.debian.org/cgi-bin/bugreport.cgi?bug=550978
lists.grok.org.uk/pipermail/full-disclosure/2009-December/072009.html
exchange.xforce.ibmcloud.com/vulnerabilities/64820
lists.fedoraproject.org/pipermail/package-announce/2010-November/051229.html
nvd.nist.gov/vuln/detail/CVE-2009-5018
github.com/advisories/GHSA-4g27-cp2v-vp66