{"id":"CVE-2009-5018","aliases":["EUVD-2009-4976","GHSA-4g27-cp2v-vp66"],"status":"published","title":"Stack-based buffer overflow in gif2png.c in gif2png 2.5.3 and earlier might allow context...","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.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.10901,"percentile":0.95904,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-119"],"published":"2011-01-14T16:00:00Z","modified":"2026-06-16T23:14:50Z","exploits":[{"source":"exploitdb","id":"EDB-34356","title":"gif2png 2.5.2 - Remote Buffer Overflow","type":"dos","platform":"linux","date":"2009-12-12","verified":true,"url":"https://www.exploit-db.com/exploits/34356"}],"products":[{"vendor":"catb","product":"gif2png"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=547515","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch"]},{"url":"http://openwall.com/lists/oss-security/2010/11/22/12","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2011/0023","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:009","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2010/11/22/3","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://secunia.com/advisories/42796","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=346501","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://cvs.fedoraproject.org/viewvc/rpms/gif2png/devel/gif2png-overflow.patch?root=extras\u0026view=log","tags":["x_refsource_CONFIRM","x_transferred","Patch"]},{"url":"http://www.securityfocus.com/bid/41801","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2010/3036","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory"]},{"url":"http://openwall.com/lists/oss-security/2010/11/21/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","Patch"]},{"url":"http://www.vupen.com/english/advisories/2011/0107","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-201101-01.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2010/11/22/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","Patch"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550978","tags":["x_refsource_CONFIRM","x_transferred","Patch"]},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2009-December/072009.html","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Patch"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/64820","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2010-November/051229.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-5018"},{"url":"https://github.com/advisories/GHSA-4g27-cp2v-vp66"}],"sources":{"cve":[{"id":"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.","status":"published","published":"2011-01-14T16:00:00Z","modified":"2024-08-07T07:24:54.056Z","updated_at":"2026-11-02T14:33:22.699876Z"}],"euvd":[{"id":"EUVD-2009-4976","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.","status":"published","published":"2011-01-14T16:00:00Z","modified":"2024-08-07T07:24:54Z","updated_at":"2026-11-03T01:39:08.21747Z"}],"ghsa":[{"id":"GHSA-4g27-cp2v-vp66","title":"Stack-based buffer overflow in gif2png.c in gif2png 2.5.3 and earlier might allow context...","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.","status":"published","published":"2022-05-02T04:00:28Z","modified":"2023-01-31T05:08:24Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:49:23.788915Z"}],"nvd":[{"id":"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.","status":"published","published":"2011-01-14T17:00:02.497Z","modified":"2026-06-16T23:14:50.273Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:01:38.684719Z"}]}}
