Home / Catb / Gif2png / CVE-2009-5018
CVE-2009-5018: is it exploited, and which versions of Catb Gif2png are affected and fixed?
CVE-2009-5018 is a memory corruption (buffer overflow) vulnerability in Catb Gif2png. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: gif2png through 2.5.3, gif2png 0.99, gif2png 1.0.0 and 33 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.8, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:50 UTC.
What is CVE-2009-5018?
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.
From the CVE record by redhat, last updated August 7, 2024, 07:24 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| catb | gif2png | through 2.5.3 | application |
| catb | gif2png | 0.99 | application |
| catb | gif2png | 1.0.0 | application |
| catb | gif2png | 1.1.0 | application |
| catb | gif2png | 1.1.1 | application |
| catb | gif2png | 1.2.0 | application |
| catb | gif2png | 1.2.1 | application |
| catb | gif2png | 1.2.2 | application |
| catb | gif2png | 2.0.0 | application |
| catb | gif2png | 2.0.1 | application |
| catb | gif2png | 2.0.2 | application |
| catb | gif2png | 2.0.3 | application |
| catb | gif2png | 2.1.1 | application |
| catb | gif2png | 2.1.2 | application |
| catb | gif2png | 2.1.3 | application |
| catb | gif2png | 2.2.0 | application |
| catb | gif2png | 2.2.1 | application |
| catb | gif2png | 2.2.2 | application |
| catb | gif2png | 2.2.3 | application |
| catb | gif2png | 2.2.4 | application |
| catb | gif2png | 2.2.5 | application |
| catb | gif2png | 2.3.0 | application |
| catb | gif2png | 2.3.1 | application |
| catb | gif2png | 2.3.2 | application |
| catb | gif2png | 2.3.3 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:14 UTC.
How severe is CVE-2009-5018?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2009-5018 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 10.9% probability of exploitation activity in the next 30 days, percentile 96.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- https://bugzilla.redhat.com/show_bug.cgi?id=547515 x_refsource_CONFIRM
- [oss-security] 20101122 Re: CVE Request: gif2png: command-line buffer overflow problem mailing-list, x_refsource_MLIST
- ADV-2011-0023 vdb-entry, x_refsource_VUPEN
- MDVSA-2011:009 vendor-advisory, x_refsource_MANDRIVA
- [oss-security] 20101121 Re: CVE Request: gif2png: command-line buffer overflow problem mailing-list, x_refsource_MLIST
- 42796 third-party-advisory, x_refsource_SECUNIA
- http://bugs.gentoo.org/show_bug.cgi?id=346501 x_refsource_CONFIRM
- http://cvs.fedoraproject.org/viewvc/rpms/gif2png/devel/gif2png-overflow.patch?root=extras&view=log x_refsource_CONFIRM
- 41801 vdb-entry, x_refsource_BID
- ADV-2010-3036 vdb-entry, x_refsource_VUPEN
- [oss-security] 20101121 CVE Request: gif2png: command-line buffer overflow problem mailing-list, x_refsource_MLIST
- ADV-2011-0107 vdb-entry, x_refsource_VUPEN
- GLSA-201101-01 vendor-advisory, x_refsource_GENTOO
- [oss-security] 20101121 Re: CVE Request: gif2png: command-line buffer overflow problem mailing-list, x_refsource_MLIST
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550978 x_refsource_CONFIRM
- 20091213 [gif2png] long filename Buffer Overrun mailing-list, x_refsource_FULLDISC
- gif2png-commandline-bo(64820) vdb-entry, x_refsource_XF
- FEDORA-2010-0358 vendor-advisory, x_refsource_FEDORA
When was it published, and where is the official record?
- Reserved
- November 22, 2010
- Published
- January 14, 2011, 16:00 UTC
- CVE record updated
- August 7, 2024, 07:24 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:14 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:50 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Gif2png?
- Jan 14, 2011CVE-2010-4695 Catb Gif2png: memory corruption (buffer overflow)
- Jan 14, 2011CVE-2010-4694 Catb Gif2png: memory corruption (buffer overflow)
Questions about CVE-2009-5018
Is CVE-2009-5018 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 10.9% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Catb Gif2png are affected by CVE-2009-5018?
gif2png through 2.5.3, gif2png 0.99, gif2png 1.0.0, gif2png 1.1.0, gif2png 1.1.1, gif2png 1.2.0 and 30 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2009-5018?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2009-5018?
Medium (6.8, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2009-5018?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.