CVE-2004-0941

Summary

CVECVE-2004-0941
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2005-02-09 05:00:00 UTC
Updated2025-04-03 01:03:51 UTC
DescriptionMultiple buffer overflows in the gd graphics library (libgd) 2.0.21 and earlier may allow remote attackers to execute arbitrary code via malformed image files that trigger the overflows due to improper calls to the gdMalloc function, a different set of vulnerabilities than CVE-2004-0990.

Risk And Classification

Primary CVSS: v2.0 10 from [email protected]

AV:N/AC:L/Au:N/C:C/I:C/A:C

Problem Types: NVD-CWE-Other | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:N/AC:L/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Gd Graphics Library Gdlib 1.8.4 All All All
Application Gd Graphics Library Gdlib 2.0.1 All All All
Application Gd Graphics Library Gdlib 2.0.20 All All All
Application Gd Graphics Library Gdlib 2.0.21 All All All
Application Gd Graphics Library Gdlib 2.0.22 All All All
Application Gd Graphics Library Gdlib 2.0.23 All All All
Application Gd Graphics Library Gdlib 2.0.26 All All All
Application Gd Graphics Library Gdlib 2.0.27 All All All
Application Gd Graphics Library Gdlib 2.0.28 All All All
Application Gd Graphics Library Gdlib 2.0.33 All All All
Operating System Trustix Secure Linux 1.5 All All All
Operating System Trustix Secure Linux 2.0 All All All
Operating System Trustix Secure Linux 2.1 All All All
Operating System Trustix Secure Linux 2.2 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
P-071: Updated "gd" Packages af854a3a-2127-422b-91ae-364da2661108 www.ciac.org
Secunia - Advisories - GD Graphics Library Unspecified Buffer Overflow Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 secunia.com
Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Advisories - Mandriva Linux af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Debian -- Security Information -- DSA-601-1 libgd af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
usn/usn-25-1 - Ubuntu Linux af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
GD Graphics Library Multiple Unspecified Remote Buffer overflow Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Patch, Vendor Advisory
Secunia - Advisories - Mandriva update for libwmf af854a3a-2127-422b-91ae-364da2661108 secunia.com
usn/usn-33-1 - Ubuntu Linux af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Mandriva update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
Advisories - Mandriva Linux af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
Advisories - Mandriva Linux OS af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
Red Hat update for gd - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
www.trustix.org/errata/2004/0058 af854a3a-2127-422b-91ae-364da2661108 www.trustix.org Patch, Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2007-03-14Mark J CoxRed Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report