Back to CVE catalog
CVE-2004-0941

Multiple buffer overflows in the gd graphics library

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityComplete
IntegrityComplete
AvailabilityComplete

CVSS summary v2.0

10.0High
Published:
Updated:
EPSS:
10.693%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Related CWE

Not specified

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:gd_graphics_librarygdlibAffected versions:
1.8.4Show full version range for gdlib
2.0.12.0.202.0.212.0.222.0.232.0.262.0.272.0.282.0.33
Vendor:trustixsecure linuxAffected versions:
1.5Show full version range for secure linux
2.02.12.2
Vendor:redhatlibwmf
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for libwmf
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatlibwmf-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for libwmf-devel
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatlibwmf-lite
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for libwmf-lite
  • Other versions are affected by default; consult the source for exceptions.
Vendor:Debianlibgd-tools
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2.0.33-1.1
Vendor:Debianlibgd2
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2.0.33-1.1
Vendor:Debianlibgd2-dev
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2.0.33-1.1
Vendor:Debianlibgd2-noxpm
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2.0.33-1.1
Vendor:Debianlibgd2-noxpm-dev
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2.0.33-1.1

1–10 of 23 · Page 1 of 3

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary10.0 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:C/I:C/A:C
nvd · Wazuh CTI (cna)10.0 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories25

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences