CVE-2004-0941
CVE-2004-0941 is a critical-severity vulnerability in Gd Graphics Library Gdlib with a CVSS 2.0 base score of 10.0. Its EPSS exploit-prediction score of 11% places it in the 95th percentile, indicating an elevated likelihood of exploitation.
Key facts
- Severity: Critical (CVSS 2.0 base score 10.0)
- EPSS exploit prediction: 11% (95th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Gd Graphics Library Gdlib
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2004-0941?
- 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.
- How severe is CVE-2004-0941?
- CVE-2004-0941 has a CVSS 2.0 base score of 10.0, rated critical severity.
- Is CVE-2004-0941 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 11% (95th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2004-0941?
- CVE-2004-0941 primarily affects Gd Graphics Library Gdlib. In total, 14 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2004-0941?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2004-0941 published?
- CVE-2004-0941 was published on 2005-02-09 and last updated on 2026-06-16.
References
- http://secunia.com/advisories/13179/
- http://secunia.com/advisories/18686
- http://secunia.com/advisories/20824
- http://secunia.com/advisories/21050
- http://www.ciac.org/ciac/bulletins/p-071.shtml
- http://www.debian.org/security/2004/dsa-601
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:113
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:114
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:122
- http://www.redhat.com/support/errata/RHSA-2004-638.html
- http://www.redhat.com/support/errata/RHSA-2006-0194.html
- http://www.securityfocus.com/bid/11663
- http://www.trustix.org/errata/2004/0058
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18048
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11176
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1195
- https://www.ubuntu.com/usn/usn-25-1/
- https://www.ubuntu.com/usn/usn-33-1/
Affected products (14)
- cpe:2.3:a:gd_graphics_library:gdlib:1.8.4:*:*:*:*:*:*:*
- cpe:2.3:a:gd_graphics_library:gdlib:2.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:gd_graphics_library:gdlib:2.0.20:*:*:*:*:*:*:*
- cpe:2.3:a:gd_graphics_library:gdlib:2.0.21:*:*:*:*:*:*:*
- cpe:2.3:a:gd_graphics_library:gdlib:2.0.22:*:*:*:*:*:*:*
- cpe:2.3:a:gd_graphics_library:gdlib:2.0.23:*:*:*:*:*:*:*
- cpe:2.3:a:gd_graphics_library:gdlib:2.0.26:*:*:*:*:*:*:*
- cpe:2.3:a:gd_graphics_library:gdlib:2.0.27:*:*:*:*:*:*:*
- cpe:2.3:a:gd_graphics_library:gdlib:2.0.28:*:*:*:*:*:*:*
- cpe:2.3:a:gd_graphics_library:gdlib:2.0.33:*:*:*:*:*:*:*
- cpe:2.3:o:trustix:secure_linux:1.5:*:*:*:*:*:*:*
- cpe:2.3:o:trustix:secure_linux:2.0:*:*:*:*:*:*:*
- cpe:2.3:o:trustix:secure_linux:2.1:*:*:*:*:*:*:*
- cpe:2.3:o:trustix:secure_linux:2.2:*:*:*:*:*:*:*
More vulnerabilities in Gd Graphics Library Gdlib
- CVE-2004-0990 — Critical (CVSS 10.0): Integer overflow in GD Graphics Library libgd 2.0.28 (libgd2), and possibly other versions, allows remote attackers to…
- CVE-2007-3478 — Medium (CVSS 4.3): Race condition in gdImageStringFTEx (gdft_draw_bitmap) in gdft.c in the GD Graphics Library (libgd) before 2.0.35…
- CVE-2007-3476 — Medium (CVSS 4.3): Array index error in gd_gif_in.c in the GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers…
- CVE-2007-3475 — Medium (CVSS 4.3): The GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to cause a denial of service…