CVE-2009-3546

gd: insufficient input validation in _gdGetColors()

Published Oct 19, 2009 CVSS 2.0 · 9.3 Critical EPSS 10.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-1936-1 New libgd2 packages fix several vulnerabilities
EUVD EUVD EUVD-2009-3528 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.
Ubuntu USN Ubuntu USN USN-854-1 GD library vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.03404}

epss

{'score': 0.03871}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 7, 2024, 6:31 AM
Reserved
Oct 5, 2009, 12:00 AM
Status
Modified
Published
Oct 19, 2009, 8:00 PM
Modified
Jun 16, 2026, 11:11 PM
Severity
Low
Public date
Oct 12, 2009, 12:00 AM