Skip to content
OpenAdvisories
Unscored CVE-2009-3546 EUVD-2009-3528GHSA-w7xp-2c87-fchc

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 cert…

Published Oct 19, 2009 · Updated Aug 7, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libgd2 2.0.36~rc1~dfsg-3.1 —
Debian 14 libwmf No fix yet —
Debian 14 racket 5.0.2-1 —
Debian 13 libgd2 2.0.36~rc1~dfsg-3.1 —
Debian 13 libwmf No fix yet —
Debian 13 racket 5.0.2-1 —
Debian 12 libgd2 2.0.36~rc1~dfsg-3.1 —
Debian 12 libwmf No fix yet —
Debian 12 racket 5.0.2-1 —
Debian 5.0 libgd2 2.0.36~rc1~dfsg-3+lenny1 DSA-1936-1
Debian 4.0 libgd2 2.0.33-5.2etch2 DSA-1936-1
ReleasePackageFixed inAdvisory
RHEL 5 gd +2 2.0.33-9.4.el5_4.2 RHSA-2010:0003
RHEL 5 php +18 5.1.6-24.el5_4.5 RHSA-2010:0040
RHEL 4 gd +2 2.0.28-5.4E.el4_8.1 RHSA-2010:0003
RHEL 4 php +13 4.3.9-3.29 RHSA-2010:0040
RHEL 3 php +6 4.3.2-54.ent RHSA-2010:0040

Advisories 3

References