Live threats

All CVEs / Gd Graphics Library

CVE-2004-0941Gd Graphics Library Gdlib

Critical 10.0 No auth neededHigh EPSS

Priority
76
CVSS 2.0
10.0
EPSS
10.7%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Feb 9, 2005
Updated
Jun 16, 2026
Category
Application · Cross-platform
Vector
AV:N/AC:L/Au:N/C:C/I:C/A:C

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gdlib.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
gd_graphics_librarygdlib1.8.4
gd_graphics_librarygdlib2.0.1
gd_graphics_librarygdlib2.0.20
gd_graphics_librarygdlib2.0.21
gd_graphics_librarygdlib2.0.22
gd_graphics_librarygdlib2.0.23
gd_graphics_librarygdlib2.0.26
gd_graphics_librarygdlib2.0.27
gd_graphics_librarygdlib2.0.28
gd_graphics_librarygdlib2.0.33
trustixsecure_linux1.5
trustixsecure_linux2.0
trustixsecure_linux2.1
trustixsecure_linux2.2

Official sources

References

Links published by the sources. Open them with care.