CVE-2009-3546: Buffer Overflow

Published Oct 19, 2009
·
Updated

The gdGetColors function in gdgd.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.

Affected Software

13 affected components
Libgd GD Graphics Library=2.0.34-rc2
Libgd GD Graphics Library=2.0.33
Libgd GD Graphics Library=2.0.34-rc1
Libgd GD Graphics Library=2.0.35-rc3
Libgd GD Graphics Library=2.0.35-rc2
Libgd GD Graphics Library=2.0.35-rc1
Libgd GD Graphics Library=2.0.35
Libgd GD Graphics Library=2.0.36-rc1
Libgd GD Graphics Library=2.0.34
Libgd GD Graphics Library=2.0.35-rc5
Libgd GD Graphics Library=2.0.35-rc4
PHP PHP=5.2.11
PHP PHP=5.3.0

Event History

Oct 19, 2009
CVE Published
via MITRE·07:27 PM
Data Sourced
via MITRE·07:27 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2009-3546?

CVE-2009-3546 has a medium severity rating due to the potential for buffer overflow or buffer over-read attacks.

2

How do I fix CVE-2009-3546?

To fix CVE-2009-3546, upgrade to PHP version 5.3.1 or later and ensure that you are using the latest version of the GD Graphics Library.

3

Which software versions are affected by CVE-2009-3546?

CVE-2009-3546 affects PHP versions 5.2.11 and 5.3.x prior to 5.3.1, as well as multiple versions of the GD Graphics Library.

4

What type of attacks can CVE-2009-3546 enable?

CVE-2009-3546 could enable remote attackers to conduct buffer overflow or buffer over-read attacks via crafted GD files.

5

Is CVE-2009-3546 still a threat today?

CVE-2009-3546 is considered a historical vulnerability but may still pose a threat if outdated software versions are in use.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203