CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2009 · Libgd

CVE-2009-3546
Libgd Gd Graphics Library vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Gd Graphics Library, Php. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Libgd Gd Graphics Library runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Libgd products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.