cve.bz

CVE-2004-0941

no score yetEPSS 11%Fix available

No CVSS score yet. EPSS 11% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
11% (unchanged from 11% a week ago; 11% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2004-0941 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2004-0941?via=ask-ai-copy and https://cve.bz/cve/CVE-2004-0941?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2004-0941 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gd_graphics_library:gdlib1.8.4
gd_graphics_library:gdlib2.0.1
gd_graphics_library:gdlib2.0.20
gd_graphics_library:gdlib2.0.21
gd_graphics_library:gdlib2.0.22
gd_graphics_library:gdlib2.0.23
gd_graphics_library:gdlib2.0.26
gd_graphics_library:gdlib2.0.27
gd_graphics_library:gdlib2.0.28
gd_graphics_library:gdlib2.0.33
trustix:secure_linux1.5
trustix:secure_linux2.0
trustix:secure_linux2.1
trustix:secure_linux2.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian3.0libgd1.8.4-17.woody4DSA-601-1
Debian3.0libgd22.0.1-10woody2DSA-602-1
Debian12, 13, 14libgd22.0.33-1.1DEBIAN-CVE-2004-0941
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 moregd, gd-devel, gd-progs and 1 more0:1.8.4-12.3.1RHSA-2004:638
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 moregd, gd-devel, gd-progs and 1 more0:2.0.28-4.4E.1RHSA-2006:0194

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 3gd-0:1.8.4-12.3.1Fixed 2004-12-17RHSA-2004:638
Red Hat Enterprise Linux 4gd-0:2.0.28-4.4E.1Fixed 2006-02-01RHSA-2006:0194
Red Hat Enterprise Linux 4libwmfWill not fix
Red Hat Enterprise Linux 5libwmfWill not fix
Red Hat Enterprise Linux 6libwmfWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2004-0941.

References

Check your stackJSON