CVE-2009-5018
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
gif2png 2.5.2 - Remote Buffer Overflow
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| catb | gif2png | {"endIncluding":"2.5.3"} | |
| catb | gif2png | 0.99 | |
| catb | gif2png | 1.0.0 | |
| catb | gif2png | 1.1.0 | |
| catb | gif2png | 1.1.1 | |
| catb | gif2png | 1.2.0 | |
| catb | gif2png | 1.2.1 | |
| catb | gif2png | 1.2.2 | |
| catb | gif2png | 2.0.0 | |
| catb | gif2png | 2.0.1 | |
| catb | gif2png | 2.0.2 | |
| catb | gif2png | 2.0.3 | |
| catb | gif2png | 2.1.1 | |
| catb | gif2png | 2.1.2 | |
| catb | gif2png | 2.1.3 | |
| catb | gif2png | 2.2.0 | |
| catb | gif2png | 2.2.1 | |
| catb | gif2png | 2.2.2 | |
| catb | gif2png | 2.2.3 | |
| catb | gif2png | 2.2.4 | |
| catb | gif2png | 2.2.5 | |
| catb | gif2png | 2.3.0 | |
| catb | gif2png | 2.3.1 | |
| catb | gif2png | 2.3.2 | |
| catb | gif2png | 2.3.3 | |
| catb | gif2png | 2.4.0 | |
| catb | gif2png | 2.4.1 | |
| catb | gif2png | 2.4.2 | |
| catb | gif2png | 2.4.3 | |
| catb | gif2png | 2.4.4 | |
| catb | gif2png | 2.4.5 | |
| catb | gif2png | 2.4.6 | |
| catb | gif2png | 2.4.7 | |
| catb | gif2png | 2.5.0 | |
| catb | gif2png | 2.5.1 | |
| catb | gif2png | 2.5.2 | |
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
- 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
CWEs
CWE-119
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.