CVE-2004-0941 in the critical feed json
Multiple buffer overflows in the gd graphics library (libgd) 2.0.21 and earlier may allow remote attackers to execute arbitrary code via ma…
published 2004-11-19 21 y ago modified 2026-06-16 4 mo ago also EUVD-2004-0939
- cvss
- 10.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 10.7%
- EPSS 10.7% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
Multiple 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.
Patch / fix
- libgd2 Debian 14, Debian 13, Debian 12 2.0.33-1.1
debian advisories DEBIAN-CVE-2004-0941
- gd RHEL 3 1.8.4-12.3.1
- gd-progs RHEL 3 1.8.4-12.3.1
- gd RHEL 4 2.0.28-4.4E.1
- gd-progs RHEL 4 2.0.28-4.4E.1
red hat advisories RHSA-2004:638RHSA-2006:0194
- trustix.org/errata/2004/0058 advisory
- securityfocus.com/bid/11663 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2004-0941 updated
gd: additional overflows
-
Red Hat Enterprise Linux 4 libwmf Red Hat Enterprise Linux 5 libwmf Red Hat Enterprise Linux 6 libwmf, libwmf-liteaffected: no fix planned “Will not fix”
-
Red Hat Desktop version 3 gd 1.8.4-12.3.1, gd-progs 1.8.4-12.3.1 Red Hat Enterprise Linux AS version 3 gd 1.8.4-12.3.1, gd-progs 1.8.4-12.3.1fixed: vendor fix RHSA-2004:638
-
Red Hat Enterprise Linux AS version 4 gd 2.0.28-4.4E.1, gd-progs 2.0.28-4.4E.1 Red Hat Enterprise Linux Desktop version 4 gd 2.0.28-4.4E.1, gd-progs 2.0.28-4.4E.1fixed: vendor fix RHSA-2006:0194
-
Red Hat Enterprise Linux ES version 3 gd 1.8.4-12.3.1, gd-progs 1.8.4-12.3.1fixed: vendor fix RHSA-2004:638
-
Red Hat Enterprise Linux ES version 4 gd 2.0.28-4.4E.1, gd-progs 2.0.28-4.4E.1fixed: vendor fix RHSA-2006:0194
-
Red Hat Enterprise Linux WS version 3 gd 1.8.4-12.3.1, gd-progs 1.8.4-12.3.1fixed: vendor fix RHSA-2004:638
-
Red Hat Enterprise Linux WS version 4 gd 2.0.28-4.4E.1, gd-progs 2.0.28-4.4E.1fixed: vendor fix RHSA-2006:0194
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
10.69% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
References
-
trustix.org
/errata/2004/0058
vendor-advisory, patch
-
securityfocus.com
/bid/11663
vdb-entry, patch, vendor-advisory
-
redhat.com
/support/errata/RHSA-2006-0194.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2004-638.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2006:113
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2006:114
vendor-advisory
-
debian.org
/security/2004/dsa-601
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2006:122
vendor-advisory
-
ubuntu.com
/usn/usn-25-1/
vendor-advisory
-
ubuntu.com
/usn/usn-33-1/
vendor-advisory
-
ciac.org
/ciac/bulletins/p-071.shtml
third-party-advisory, government-resource
-
secunia.com
/advisories/21050
third-party-advisory
-
secunia.com
/advisories/13179/
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11176
vdb-entry, signature
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1195
vdb-entry, signature
-
exchange.xforce.ibmcloud.com
/vulnerabilities/18048
vdb-entry
-
secunia.com
/advisories/18686
third-party-advisory
-
secunia.com
/advisories/20824
third-party-advisory
Sources
- CVE List CVE-2004-0941
- NVD CVE-2004-0941
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.