Skip to content
Heist/ feed
Back to feed
UnratedFix available

libgd2, libwmf and 1 more products — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2009-3546

The _gdGetColors function in gd_gd.c in PHP 5.2.11 and 5.3.x before 5.3.1, and the GD Graphics Library 2.x, does not properly verify a certain colorsTotal structure member, which might allow remote attackers to conduct buffer overflow or buffer over-read attacks via a crafted GD file, a different vulnerability than CVE-2009-3293. NOTE: some of these details are obtained from third party information.

Products
libgd2, libwmf, racket
Affected versions
0.2.12-5.1, 0.2.12-5.2, 0.2.13-1, 0.2.13-1.1, 0.2.13-2, 0.2.14-1
Fixed versions
2.0.36~rc1~dfsg-3.1, 5.0.2-1
CVEs
CVE-2009-3546
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 23:16 UTC · Revision 1

Source evidence

DEBIAN-CVE-2009-3546

core-osv · Original source

Published 19 Oct 2009, 20:00 UTC

The _gdGetColors function in gd_gd.c in PHP 5.2.11 and 5.3.x before 5.3.1, and the GD Graphics Library 2.x, does not properly verify a certain colorsTotal structure member, which might allow remote attackers to conduct buffer overflow or buffer over-read attacks via a crafted GD file, a different vulnerability than CVE-2009-3293. NOTE: some of these details are obtained from third party information.

osv:DEBIAN-CVE-2009-3546

libgd2

Fixed versions: 2.0.36~rc1~dfsg-3.1

libgd2

Fixed versions: 2.0.36~rc1~dfsg-3.1

libgd2

Fixed versions: 2.0.36~rc1~dfsg-3.1

libwmf

Fixed versions: Not specified

libwmf

Fixed versions: Not specified

libwmf

Fixed versions: Not specified

racket

Fixed versions: 5.0.2-1

racket

Fixed versions: 5.0.2-1

racket

Fixed versions: 5.0.2-1

Complete source record
{
  "id": "579afbf8adc92fbe6596bb840d6815c40168017a482f36075cf22e8cfa0b6d14",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2009-3546",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2009-3546",
    "summary": "The _gdGetColors function in gd_gd.c in PHP 5.2.11 and 5.3.x before 5.3.1, and the GD Graphics Library 2.x, does not properly verify a certain colorsTotal structure member, which might allow remote attackers to conduct buffer overflow or buffer over-read attacks via a crafted GD file, a different vulnerability than CVE-2009-3293. NOTE: some of these details are obtained from third party information.",
    "evidence": "osv:DEBIAN-CVE-2009-3546",
    "products": [
      {
        "name": {
          "value": "libgd2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.0.36~rc1~dfsg-3.1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libgd2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.0.36~rc1~dfsg-3.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libgd2",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.0.36~rc1~dfsg-3.1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libwmf",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.2.12-5.1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.2.12-5.2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.2.13-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.2.13-1.1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.2.13-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.2.14-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libwmf",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.2.13-1.1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.2.13-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.2.14-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libwmf",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.2.13-1.1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.2.13-2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.2.14-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "racket",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.0.2-1",
            "evidence": "/affected/6/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "racket",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.0.2-1",
            "evidence": "/affected/7/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "racket",
          "evidence": "/affected/8/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.0.2-1",
            "evidence": "/affected/8/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "DEBIAN-CVE-2009-3546",
      "aliases": [
        "DEBIAN-CVE-2009-3546"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.0.36~rc1~dfsg-3.1"
                }
              ]
            }
          ],
          "package": {
            "name": "libgd2",
            "purl": "pkg:deb/debian/libgd2?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-3546.json"
          },
          "ecosystem_specific": {
            "urgency": "medium"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.0.36~rc1~dfsg-3.1"
                }
              ]
            }
          ],
          "package": {
            "name": "libgd2",
            "purl": "pkg:deb/debian/libgd2?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-3546.json"
          },
          "ecosystem_specific": {
            "urgency": "medium"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.0.36~rc1~dfsg-3.1"
                }
              ]
            }
          ],
          "package": {
            "name": "libgd2",
            "purl": "pkg:deb/debian/libgd2?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-3546.json"
          },
          "ecosystem_specific": {
            "urgency": "medium"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libwmf",
            "purl": "pkg:deb/debian/libwmf?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "0.2.12-5.1",
            "0.2.12-5.2",
            "0.2.13-1",
            "0.2.13-1.1",
            "0.2.13-2",
            "0.2.14-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-3546.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libwmf",
            "purl": "pkg:deb/debian/libwmf?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "0.2.13-1.1",
            "0.2.13-2",
            "0.2.14-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-3546.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libwmf",
            "purl": "pkg:deb/debian/libwmf?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "0.2.13-1.1",
            "0.2.13-2",
            "0.2.14-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-3546.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.0.2-1"
                }
              ]
            }
          ],
          "package": {
            "name": "racket",
            "purl": "pkg:deb/debian/racket?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-3546.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.0.2-1"
                }
              ]
            }
          ],
          "package": {
            "name": "racket",
            "purl": "pkg:deb/debian/racket?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-3546.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.0.2-1"
                }
              ]
            }
          ],
          "package": {
            "name": "racket",
            "purl": "pkg:deb/debian/racket?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-3546.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        }
      ],
      "modified": "2026-10-23T17:47:39.306607194Z",
      "provider": "osv",
      "upstream": [
        "CVE-2009-3546"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2009-3546"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2009-3546",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 418168,
  "published_at": "2009-10-19T20:00:00.657+00:00"
}