CVE-2004-0990libgd2 Vulnerability
Integer overflow in GD Graphics Library libgd 2.0.28 (libgd2), and possibly other versions, allows remote attackers to cause a denial of service and possibly execute arbitrary code via PNG image files with large image rows values that lead to a heap-based buffer overflow in the…
Published Mar 1, 2005 · Updated Aug 4, 2026 · Also known as DEBIAN-CVE-2004-0990, DSA-589-1, DSA-591-1
Key Facts
Patch immediately- CVE-2004-0990 is a critical-severity vulnerability (CVSS 10.0 v2) affecting Gdlib (Gd Graphics Library), Openpkg, Linux (Gentoo) and 5 more products.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 28% probability of exploitation in the next 30 days.
- Fixed versions are available, including gd 0:1.8.4-12.3.1, libgd 1.8.4-17.woody3, libgd 1.8.4-17.woody4.
- Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Scores
CVSS v2
10.0
AV:N/AC:L/Au:N/C:C/I:C/A:C
EPSS (30-day exploit likelihood)
28%
Higher than 98.1% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
40/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2004-0990
- advisoryRHSA-2004:638
- patch11523
Description
Integer overflow in GD Graphics Library libgd 2.0.28 (libgd2), and possibly other versions, allows remote attackers to cause a denial of service and possibly execute arbitrary code via PNG image files with large image rows values that lead to a heap-based buffer overflow in the gdImageCreateFromPngCtx function, a different set of vulnerabilities than CVE-2004-0941.
Affected Products
38 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| GdlibGd Graphics Library | 1.8.4, 2.0.1, 2.0.15, 2.0.20, 2.0.21, 2.0.22, 2.0.23, 2.0.26 | n/a |
| OpenpkgOpenpkg | 2.1, 2.2, current | n/a |
| LinuxGentoo | See advisory | n/a |
| Suse LinuxSuse | 8.0, 8.1, 8.2, 9.0, 9.1, 9.2 | n/a |
| Secure LinuxTrustix | 1.5, 2.0, 2.1, 2.2 | n/a |
Patched Releases
gd
0:1.8.4-12.3.1
libgd
1.8.4-17.woody3, 1.8.4-17.woody4
libgd2
2.0.1-10woody1, 2.0.1-10woody2, 2.0.30-1
Timeline
Publicly disclosed
Mar 1, 2005
Last updated
Aug 4, 2026
References
- advisorysecurity-tracker.debian.org · CVE-2004-0990
- advisoryRHSA-2004:638
- patch11523
- exploitExploitDB-600
- otherSUSE-SR:2006:003
FAQ
Common Questions.
Integer overflow in GD Graphics Library libgd 2.0.28 (libgd2), and possibly other versions, allows remote attackers to cause a denial of service and possibly execute arbitrary code via PNG image files with large image rows values that lead to a heap-based buffer overflow in the gdImageCreateFromPngCtx function, a diff…
Affected: Gdlib (Gd Graphics Library) versions 1.8.4, 2.0.1, 2.0.15, 2.0.20, 2.0.21, 2.0.22, 2.0.23, 2.0.26; Openpkg versions 2.1, 2.2, current; Linux (Gentoo), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including gd 0:1.8.4-12.3.1, libgd 1.8.4-17.woody3, libgd 1.8.4-17.woody4.
Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Is CVE-2004-0990 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo