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

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

Affected products (14)

More vulnerabilities in Gd Graphics Library Gdlib

All CVEs affecting Gd Graphics Library Gdlib →