Skip to content
OpenAdvisories
Unscored CVE-2004-0941 EUVD-2004-0939GHSA-5jw2-pr8r-5fc7

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 Nov 19, 2004 · Updated Aug 8, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libgd2 2.0.33-1.1 —
Debian 13 libgd2 2.0.33-1.1 —
Debian 12 libgd2 2.0.33-1.1 —
Debian 3.0 libgd 1.8.4-17.woody4 DSA-601-1
Debian 3.0 libgd2 2.0.1-10woody2 DSA-602-1
ReleasePackageFixed inAdvisory
RHEL 4 gd +2 2.0.28-4.4E.1 RHSA-2006:0194
RHEL 3 gd +2 1.8.4-12.3.1 RHSA-2004:638

Advisories 4

References