CVE-2004-0990

GD Graphics Library libgd 2.0.28 - RCE/DoS

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2004-0990. PoCs published by anonymous.

AI-analyzed exploit summary This exploit generates a malicious PNG file targeting CVE-2004-0990, a buffer overflow in libpng. It crafts a PNG with manipulated IHDR and IDAT chunks to trigger the vulnerability, embedding shellcode for potential remote code execution.

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by anonymous · clocallinux
https://www.exploit-db.com/exploits/600

This exploit generates a malicious PNG file targeting CVE-2004-0990, a buffer overflow in libpng. It crafts a PNG with manipulated IHDR and IDAT chunks to trigger the vulnerability, embedding shellcode for potential remote code execution.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: libpng (versions prior to 1.2.6)
No auth needed
Prerequisites: Ability to deliver the malicious PNG file to the target system · Target system must process the PNG file with a vulnerable version of libpng
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (26)

Core 26
Core References
Vendor Advisory vendor-advisory x_refsource_ubuntu
https://www.ubuntu.com/usn/usn-25-1/
Vendor Advisory vendor-advisory x_refsource_ubuntu
https://www.ubuntu.com/usn/usn-11-1/
Vendor Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDKSA-2006:114
Vendor Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDKSA-2006:122
Issue Tracking x_refsource_confirm
https://issues.rpath.com/browse/RPL-939
Third Party Advisory, US Government Resource third-party-advisory government-resource x_refsource_ciac
http://www.ciac.org/ciac/bulletins/p-071.shtml
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/23783
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/11190
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/21050
Patch, Vendor Advisory vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/11523
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/17866
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2004-638.html
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2004/dsa-602
Vendor Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDKSA-2006:113
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1260
Various Sources vendor-advisory x_refsource_suse
http://lists.suse.com/archive/suse-security-announce/2006-Feb/0001.html
Vendor Advisory vendor-advisory x_refsource_trustix
http://www.trustix.org/errata/2004/0058
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2004/dsa-589
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2004/dsa-601
Vendor Advisory vendor-advisory x_refsource_mandrake
http://www.mandriva.com/security/advisories?name=MDKSA-2004:132
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/18717
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9952
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=109882489302099&w=2
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/20824
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2004/dsa-591
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/20866

Scores

EPSS 0.2826
EPSS Percentile 97.9%

Details

Status published
Products (24)
gd_graphics_library/gdlib 1.8.4
gd_graphics_library/gdlib 2.0.1
gd_graphics_library/gdlib 2.0.15
gd_graphics_library/gdlib 2.0.20
gd_graphics_library/gdlib 2.0.21
gd_graphics_library/gdlib 2.0.22
gd_graphics_library/gdlib 2.0.23
gd_graphics_library/gdlib 2.0.26
gd_graphics_library/gdlib 2.0.27
gd_graphics_library/gdlib 2.0.28
... and 14 more
Published Mar 01, 2005
Tracked Since Feb 18, 2026