CVE-2004-0941
Multiple buffer overflows in the gd graphics library (libgd) 2.0.21 and earlier may allow remote...
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.
Exploit likelihood
What each source reports
NVD Score used
10.0
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.
- Record
CVE-2004-0941- CVSS 2.0
- 10.0 High
AV:N/AC:L/Au:N/C:C/I:C/A:C - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2004-0941- Updated
- 2026-11-02
EUVDEUVD-2004-0939 No score
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.
- Record
EUVD-2004-0939- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5jw2-pr8r-5fc7 No score
Multiple buffer overflows in the gd graphics library (libgd) 2.0.21 and earlier may allow remote...
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.
- Record
GHSA-5jw2-pr8r-5fc7- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2004-0941- Updated
- 2026-11-02
OSVDEBIAN-CVE-2004-0941 No score
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.
- Record
DEBIAN-CVE-2004-0941- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libgd2Debian:12 |
before 2.0.33-1.1 | 2.0.33-1.1 |
libgd2Debian:13 |
before 2.0.33-1.1 | 2.0.33-1.1 |
libgd2Debian:14 |
before 2.0.33-1.1 | 2.0.33-1.1 |
libgdDebian:3.0 From an advisory covering 2 CVEs |
before 1.8.4-17.woody4, plus listed versions 1.8.4-17.woody2 |
1.8.4-17.woody4 |
libgd2Debian:3.0 From an advisory covering 2 CVEs |
before 2.0.1-10woody2 | 2.0.1-10woody2 |
gdRed Hat:enterprise_linux:3::as From an advisory covering 2 CVEs |
before 0:1.8.4-12.3.1 | 0:1.8.4-12.3.1 |
gd-debuginfoRed Hat:enterprise_linux:3::as From an advisory covering 2 CVEs |
before 0:1.8.4-12.3.1 | 0:1.8.4-12.3.1 |
gd-develRed Hat:enterprise_linux:3::as From an advisory covering 2 CVEs |
before 0:1.8.4-12.3.1 | 0:1.8.4-12.3.1 |
gd-progsRed Hat:enterprise_linux:3::as From an advisory covering 2 CVEs |
before 0:1.8.4-12.3.1 | 0:1.8.4-12.3.1 |
gdRed Hat:enterprise_linux:3::desktop From an advisory covering 2 CVEs |
before 0:1.8.4-12.3.1 | 0:1.8.4-12.3.1 |
Show 27 moreShow less
| Package | Affected | Fixed |
|---|---|---|
gd-debuginfoRed Hat:enterprise_linux:3::desktop From an advisory covering 2 CVEs |
before 0:1.8.4-12.3.1 | 0:1.8.4-12.3.1 |
gd-develRed Hat:enterprise_linux:3::desktop From an advisory covering 2 CVEs |
before 0:1.8.4-12.3.1 | 0:1.8.4-12.3.1 |
gd-progsRed Hat:enterprise_linux:3::desktop From an advisory covering 2 CVEs |
before 0:1.8.4-12.3.1 | 0:1.8.4-12.3.1 |
gdRed Hat:enterprise_linux:3::es From an advisory covering 2 CVEs |
before 0:1.8.4-12.3.1 | 0:1.8.4-12.3.1 |
gd-debuginfoRed Hat:enterprise_linux:3::es From an advisory covering 2 CVEs |
before 0:1.8.4-12.3.1 | 0:1.8.4-12.3.1 |
gd-develRed Hat:enterprise_linux:3::es From an advisory covering 2 CVEs |
before 0:1.8.4-12.3.1 | 0:1.8.4-12.3.1 |
gd-progsRed Hat:enterprise_linux:3::es From an advisory covering 2 CVEs |
before 0:1.8.4-12.3.1 | 0:1.8.4-12.3.1 |
gdRed Hat:enterprise_linux:3::ws From an advisory covering 2 CVEs |
before 0:1.8.4-12.3.1 | 0:1.8.4-12.3.1 |
gd-debuginfoRed Hat:enterprise_linux:3::ws From an advisory covering 2 CVEs |
before 0:1.8.4-12.3.1 | 0:1.8.4-12.3.1 |
gd-develRed Hat:enterprise_linux:3::ws From an advisory covering 2 CVEs |
before 0:1.8.4-12.3.1 | 0:1.8.4-12.3.1 |
gd-progsRed Hat:enterprise_linux:3::ws From an advisory covering 2 CVEs |
before 0:1.8.4-12.3.1 | 0:1.8.4-12.3.1 |
gdRed Hat:enterprise_linux:4::as |
before 0:2.0.28-4.4E.1 | 0:2.0.28-4.4E.1 |
gd-debuginfoRed Hat:enterprise_linux:4::as |
before 0:2.0.28-4.4E.1 | 0:2.0.28-4.4E.1 |
gd-develRed Hat:enterprise_linux:4::as |
before 0:2.0.28-4.4E.1 | 0:2.0.28-4.4E.1 |
gd-progsRed Hat:enterprise_linux:4::as |
before 0:2.0.28-4.4E.1 | 0:2.0.28-4.4E.1 |
gdRed Hat:enterprise_linux:4::desktop |
before 0:2.0.28-4.4E.1 | 0:2.0.28-4.4E.1 |
gd-debuginfoRed Hat:enterprise_linux:4::desktop |
before 0:2.0.28-4.4E.1 | 0:2.0.28-4.4E.1 |
gd-develRed Hat:enterprise_linux:4::desktop |
before 0:2.0.28-4.4E.1 | 0:2.0.28-4.4E.1 |
gd-progsRed Hat:enterprise_linux:4::desktop |
before 0:2.0.28-4.4E.1 | 0:2.0.28-4.4E.1 |
gdRed Hat:enterprise_linux:4::es |
before 0:2.0.28-4.4E.1 | 0:2.0.28-4.4E.1 |
gd-debuginfoRed Hat:enterprise_linux:4::es |
before 0:2.0.28-4.4E.1 | 0:2.0.28-4.4E.1 |
gd-develRed Hat:enterprise_linux:4::es |
before 0:2.0.28-4.4E.1 | 0:2.0.28-4.4E.1 |
gd-progsRed Hat:enterprise_linux:4::es |
before 0:2.0.28-4.4E.1 | 0:2.0.28-4.4E.1 |
gdRed Hat:enterprise_linux:4::ws |
before 0:2.0.28-4.4E.1 | 0:2.0.28-4.4E.1 |
gd-debuginfoRed Hat:enterprise_linux:4::ws |
before 0:2.0.28-4.4E.1 | 0:2.0.28-4.4E.1 |
gd-develRed Hat:enterprise_linux:4::ws |
before 0:2.0.28-4.4E.1 | 0:2.0.28-4.4E.1 |
gd-progsRed Hat:enterprise_linux:4::ws |
before 0:2.0.28-4.4E.1 | 0:2.0.28-4.4E.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2004-0941 is a high vulnerability (CVSS 10.0) in Gd Graphics Library Gdlib, published November 19, 2004. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 10.7%, the 95th percentile. Fixed in libgd2 2.0.33-1.1.
References
redhat.com/support/errata/RHSA-2006-0194.html
securityfocus.com/bid/11663
ciac.org/ciac/bulletins/p-071.shtml
secunia.com/advisories/21050
redhat.com/support/errata/RHSA-2004-638.html
secunia.com/advisories/13179
Show 29 moreShow less
mandriva.com/security/advisories?name=MDKSA-2006:113
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11176
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1195
trustix.org/errata/2004/0058
mandriva.com/security/advisories?name=MDKSA-2006:114
debian.org/security/2004/dsa-601
mandriva.com/security/advisories?name=MDKSA-2006:122
ubuntu.com/usn/usn-25-1
exchange.xforce.ibmcloud.com/vulnerabilities/18048
secunia.com/advisories/18686
ubuntu.com/usn/usn-33-1
secunia.com/advisories/20824
nvd.nist.gov/vuln/detail/CVE-2004-0941
github.com/advisories/GHSA-5jw2-pr8r-5fc7
security-tracker.debian.org/tracker/CVE-2004-0941
access.redhat.com/errata/RHSA-2004:638
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=137246
bugzilla.redhat.com/show_bug.cgi?id=138808
security.access.redhat.com/data/csaf/v2/advisories/2004/rhsa-2004_638.json
access.redhat.com/security/cve/CVE-2004-0941
bugzilla.redhat.com/show_bug.cgi?id=175413
cve.org/CVERecord?id=CVE-2004-0941
access.redhat.com/security/cve/CVE-2004-0990
bugzilla.redhat.com/show_bug.cgi?id=1617343
cve.org/CVERecord?id=CVE-2004-0990
nvd.nist.gov/vuln/detail/CVE-2004-0990
access.redhat.com/errata/RHSA-2006:0194
security.access.redhat.com/data/csaf/v2/advisories/2006/rhsa-2006_0194.json