CVE-2004-0941

NameCVE-2004-0941
DescriptionMultiple 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-601-1, DSA-602-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libgd2 (PTS)jessie, jessie (lts)2.1.0-5+deb8u15fixed
stretch (security)2.2.4-2+deb9u4fixed
stretch (lts), stretch2.2.4-2+deb9u6fixed
buster2.2.5-5.2fixed
buster (security)2.2.5-5.2+deb10u1fixed
bullseye2.3.0-2fixed
sid, trixie, bookworm2.3.3-9fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libgdsourcewoody1.8.4-17.woody4DSA-601-1
libgdsource(unstable)1.8.4-36.1
libgd2sourcewoody2.0.1-10woody2DSA-602-1
libgd2source(unstable)2.0.33-1.1

Search for package or bug name: Reporting problems