Skip to content
Fencer Vulns
critical 10.0

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

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-lite
    affected: 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.1
    fixed: 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.1
    fixed: 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.1
    fixed: 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.1
    fixed: 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.1
    fixed: 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.1
    fixed: 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

Sources

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.