FKIE_CVE-2009-5018

Vulnerability from fkie_nvd - Published: 2011-01-14 17:00 - Updated: 2026-06-16 23:14
Severity
Summary
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.
References
secalert@redhat.comhttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550978Patch
secalert@redhat.comhttp://bugs.gentoo.org/show_bug.cgi?id=346501
secalert@redhat.comhttp://cvs.fedoraproject.org/viewvc/rpms/gif2png/devel/gif2png-overflow.patch?root=extras&view=logPatch
secalert@redhat.comhttp://lists.fedoraproject.org/pipermail/package-announce/2010-November/051229.htmlPatch
secalert@redhat.comhttp://lists.grok.org.uk/pipermail/full-disclosure/2009-December/072009.htmlPatch
secalert@redhat.comhttp://openwall.com/lists/oss-security/2010/11/21/1Patch
secalert@redhat.comhttp://openwall.com/lists/oss-security/2010/11/22/1Patch
secalert@redhat.comhttp://openwall.com/lists/oss-security/2010/11/22/12
secalert@redhat.comhttp://openwall.com/lists/oss-security/2010/11/22/3
secalert@redhat.comhttp://secunia.com/advisories/42796Vendor Advisory
secalert@redhat.comhttp://security.gentoo.org/glsa/glsa-201101-01.xml
secalert@redhat.comhttp://www.mandriva.com/security/advisories?name=MDVSA-2011:009
secalert@redhat.comhttp://www.securityfocus.com/bid/41801
secalert@redhat.comhttp://www.vupen.com/english/advisories/2010/3036Vendor Advisory
secalert@redhat.comhttp://www.vupen.com/english/advisories/2011/0023Vendor Advisory
secalert@redhat.comhttp://www.vupen.com/english/advisories/2011/0107
secalert@redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=547515Exploit, Patch
secalert@redhat.comhttps://exchange.xforce.ibmcloud.com/vulnerabilities/64820
af854a3a-2127-422b-91ae-364da2661108http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550978Patch
af854a3a-2127-422b-91ae-364da2661108http://bugs.gentoo.org/show_bug.cgi?id=346501
af854a3a-2127-422b-91ae-364da2661108http://cvs.fedoraproject.org/viewvc/rpms/gif2png/devel/gif2png-overflow.patch?root=extras&view=logPatch
af854a3a-2127-422b-91ae-364da2661108http://lists.fedoraproject.org/pipermail/package-announce/2010-November/051229.htmlPatch
af854a3a-2127-422b-91ae-364da2661108http://lists.grok.org.uk/pipermail/full-disclosure/2009-December/072009.htmlPatch
af854a3a-2127-422b-91ae-364da2661108http://openwall.com/lists/oss-security/2010/11/21/1Patch
af854a3a-2127-422b-91ae-364da2661108http://openwall.com/lists/oss-security/2010/11/22/1Patch
af854a3a-2127-422b-91ae-364da2661108http://openwall.com/lists/oss-security/2010/11/22/12
af854a3a-2127-422b-91ae-364da2661108http://openwall.com/lists/oss-security/2010/11/22/3
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/42796Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://security.gentoo.org/glsa/glsa-201101-01.xml
af854a3a-2127-422b-91ae-364da2661108http://www.mandriva.com/security/advisories?name=MDVSA-2011:009
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/41801
af854a3a-2127-422b-91ae-364da2661108http://www.vupen.com/english/advisories/2010/3036Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://www.vupen.com/english/advisories/2011/0023Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://www.vupen.com/english/advisories/2011/0107
af854a3a-2127-422b-91ae-364da2661108https://bugzilla.redhat.com/show_bug.cgi?id=547515Exploit, Patch
af854a3a-2127-422b-91ae-364da2661108https://exchange.xforce.ibmcloud.com/vulnerabilities/64820
Impacted products
Vendor Product Version
catb gif2png *
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

{
  "affected": [
    {
      "affectedData": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "source": "secalert@redhat.com"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:catb:gif2png:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "0D90E370-32B8-4D41-BDB1-30D4AA4A7B5E",
              "versionEndIncluding": "2.5.3",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:0.99:*:*:*:*:*:*:*",
              "matchCriteriaId": "17224395-486D-4D46-80EF-EAF85410310C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:1.0.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "8968CF87-4B34-4CE9-8935-8603B9B9B983",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:1.1.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "A16C1096-4F7E-42C6-BFC6-60C49EB6AD48",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:1.1.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "F0594402-BA68-4A8E-A6F9-7FFAAB80CCDB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:1.2.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "DA64512E-81A7-41F5-A713-8FD8CC964851",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:1.2.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "6755656F-6BFA-415F-AE69-BBFCADAE09E4",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:1.2.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "C7438F8E-B3F1-48E9-B3B3-051788993E84",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.0.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "9D58CC27-E3F8-4F54-A9A8-726DB7E51E4A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.0.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "05A6E63D-CAE0-40C9-87DA-F4CEA893A8B4",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.0.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "370092DB-17FA-48F8-A119-E556EC71B6AF",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.0.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "13AB2FA3-F2B4-4A09-B642-BE0992F86075",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.1.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "1CE40391-721D-4712-BB5E-EBF4875BCAC6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.1.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "DB360436-4BEC-4885-A2E6-CC612F3B3422",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.1.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "E3E139BE-2165-4C9D-85C7-969813C30276",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.2.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "78FDD948-A9A2-4555-BBC0-9D97B42BE623",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.2.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "BADA5573-12C4-418F-8658-77AF4A55543F",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.2.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "0C0D399F-9317-41CE-9553-1CCD9628D95E",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.2.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "C682B620-2261-43DA-B1A0-51880F8A2F83",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.2.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "AB6BB28C-5F69-49C8-8E24-4194C1AE8B8B",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.2.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "C921E536-3A00-4E07-8DFB-39BAFE00171C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.3.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "2A749323-D178-4C08-92E1-FD37209A6376",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.3.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "63F79633-9082-41F4-B3CC-A6AFB441C355",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.3.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "CAD17223-6C87-4BFD-9F46-8AF266E1C419",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.3.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "1DA45231-8D51-4352-AA11-D074E733ABBF",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.4.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "F531DC25-524C-4CB4-BC43-3F7FB4376486",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.4.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "CEF3962D-85E3-452F-A529-BF920047FD03",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.4.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "156E4540-B53E-4CA9-B103-BD9F99C1915C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.4.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "7917BF52-11FC-4A91-B4C8-B769D40E47F3",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.4.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "19434293-310E-4F92-97F3-7E09338BCE0E",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.4.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "663470DB-638F-4E73-A045-20BAF38DC0CB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.4.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "E2A8C80A-906C-4893-8750-5892999553EB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.4.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "9197A7A8-0FC2-43FB-B679-EB6653DAC928",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.5.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "108DD84D-21C0-4C21-8B2F-9034D253D57F",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.5.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "C80ECBF4-91B6-4F26-987D-96EEEB7FEAA4",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:catb:gif2png:2.5.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "7483924E-DA57-4875-BE41-5CA5E58BE2BA",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "Un desbordamiento de b\u00fafer basado en pila en gif2png.c en gif2png v2.5.3 y anteriores puede permitir ejecutar c\u00f3digo arbitrario a atacantes dependientes del contexto a trav\u00e9s de un argumento de l\u00ednea de comandos muy largo, como lo demuestra un programa CGI que lanza gif2png."
    }
  ],
  "id": "CVE-2009-5018",
  "lastModified": "2026-06-16T23:14:50.273",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "MEDIUM",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "PARTIAL",
          "baseScore": 6.8,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
          "version": "2.0"
        },
        "exploitabilityScore": 8.6,
        "impactScore": 6.4,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": true
      }
    ]
  },
  "published": "2011-01-14T17:00:02.497",
  "references": [
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550978"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://bugs.gentoo.org/show_bug.cgi?id=346501"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://cvs.fedoraproject.org/viewvc/rpms/gif2png/devel/gif2png-overflow.patch?root=extras\u0026view=log"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2010-November/051229.html"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://lists.grok.org.uk/pipermail/full-disclosure/2009-December/072009.html"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://openwall.com/lists/oss-security/2010/11/21/1"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://openwall.com/lists/oss-security/2010/11/22/1"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://openwall.com/lists/oss-security/2010/11/22/12"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://openwall.com/lists/oss-security/2010/11/22/3"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/42796"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://security.gentoo.org/glsa/glsa-201101-01.xml"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2011:009"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.securityfocus.com/bid/41801"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://www.vupen.com/english/advisories/2010/3036"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://www.vupen.com/english/advisories/2011/0023"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.vupen.com/english/advisories/2011/0107"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Exploit",
        "Patch"
      ],
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=547515"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/64820"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550978"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://bugs.gentoo.org/show_bug.cgi?id=346501"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://cvs.fedoraproject.org/viewvc/rpms/gif2png/devel/gif2png-overflow.patch?root=extras\u0026view=log"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2010-November/051229.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://lists.grok.org.uk/pipermail/full-disclosure/2009-December/072009.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://openwall.com/lists/oss-security/2010/11/21/1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://openwall.com/lists/oss-security/2010/11/22/1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://openwall.com/lists/oss-security/2010/11/22/12"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://openwall.com/lists/oss-security/2010/11/22/3"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/42796"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://security.gentoo.org/glsa/glsa-201101-01.xml"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2011:009"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/bid/41801"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://www.vupen.com/english/advisories/2010/3036"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://www.vupen.com/english/advisories/2011/0023"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.vupen.com/english/advisories/2011/0107"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Exploit",
        "Patch"
      ],
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=547515"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/64820"
    }
  ],
  "sourceIdentifier": "secalert@redhat.com",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-119"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…