CVE-2009-5018 EXPLOIT
6.8
MEDIUM · CVSS 2.0 · EPSS 10.9% (pctl 96)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 6.8 (MEDIUM, v2.0) |
|---|---|
| Vector | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| EPSS | 10.9% — more likely to be exploited than 96% of all CVEs |
| Weakness | CWE-119 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2011-01-14 |
| Last modified | 2026-06-16 |
Affected (1)
| Vendor | Product |
|---|---|
| catb | gif2png |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | gif2png 2.5.2 - Remote Buffer Overflow | 2009-12-12 |
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550978
- http://bugs.gentoo.org/show_bug.cgi?id=346501
- http://cvs.fedoraproject.org/viewvc/rpms/gif2png/devel/gif2png-overflow.patch?root=extras&view=log
- http://lists.fedoraproject.org/pipermail/package-announce/2010-November/051229.html
- http://lists.grok.org.uk/pipermail/full-disclosure/2009-December/072009.html
- http://openwall.com/lists/oss-security/2010/11/21/1
- http://openwall.com/lists/oss-security/2010/11/22/1
- http://openwall.com/lists/oss-security/2010/11/22/12
- http://openwall.com/lists/oss-security/2010/11/22/3
- http://secunia.com/advisories/42796
- http://security.gentoo.org/glsa/glsa-201101-01.xml
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:009
- http://www.securityfocus.com/bid/41801
- http://www.vupen.com/english/advisories/2010/3036
- http://www.vupen.com/english/advisories/2011/0023
- http://www.vupen.com/english/advisories/2011/0107
- https://bugzilla.redhat.com/show_bug.cgi?id=547515
- https://exchange.xforce.ibmcloud.com/vulnerabilities/64820
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550978
- http://bugs.gentoo.org/show_bug.cgi?id=346501
→ the Explorer · watch your stack · NVD