CVE-2004-0990 in Gd Graphics Library Gdlib and 4 more products
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 di...
Affects 5 products from 5 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Gd Graphics Library | Gdlib | 1.8.4 2.0.1 2.0.15 2.0.20 2.0.21 2.0.22+4 more2.0.23 2.0.26 2.0.27 2.0.28 |
| Gentoo | Linux | All versions |
| Openpkg | Openpkg | 2.1 2.2 current |
| Suse | Suse Linux | 8.0 8.1 8.2 9.0 9.1 9.2 |
| Trustix | Secure Linux | 1.5 2.0 2.1 2.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2004-0990 |
|---|---|
| BreachSpider ID | BS-2005-GLOBAL-302593-C |
| CVSS vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| Published | 2005-03-01 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
Integer overflow in GD Graphics Library libgd 2.0.28 and possibly other versions allows remote attackers to cause a denial of service and execute arbitrary code via PNG image files with large image rows values, leading to a heap-based buffer overflow.
The vulnerability is triggered by a heap-based buffer overflow in the gdImageCreateFromPngCtx function when processing PNG image files with large image rows values. This can be exploited by an attacker to execute arbitrary code or cause a denial of service.
Questions
What is CVE-2004-0990?
Integer overflow in GD Graphics Library libgd 2.0.28 and possibly other versions allows remote attackers to cause a denial of service and execute arbitrary code via PNG image files with large image rows values, leading to a heap-based buffer overflow.
What is the CVSS score for CVE-2004-0990?
CVE-2004-0990 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 28.3%.
Is CVE-2004-0990 actively exploited?
Public exploit available for CVE-2004-0990. Exploitation risk elevated.
How do I remediate CVE-2004-0990?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2004-0990?
CVE-2004-0990 affects Gd Graphics Library Gdlib; Gentoo Linux; Openpkg Openpkg; Suse Suse Linux; Trustix Secure Linux.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Gd Graphics Library","product":"Gdlib","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.