{"id":"CVE-2004-0990","aliases":["DEBIAN-CVE-2004-0990","DSA-589-1","DSA-591-1","DSA-601-1","DSA-602-1","EUVD-2004-0988","GHSA-23x9-mmjc-x474","RHSA-2004:638"],"status":"published","title":"Integer overflow in GD Graphics Library libgd 2.0.28 (libgd2), and possibly other versions,...","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.","severity":{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.28255,"percentile":0.98129,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"published":"2004-10-28T04:00:00Z","modified":"2026-10-21T15:47:29Z","exploits":[{"source":"exploitdb","id":"EDB-600","title":"GD Graphics Library - Local Heap Overflow","type":"local","platform":"linux","date":"2004-10-26","verified":true,"url":"https://www.exploit-db.com/exploits/600"}],"fixes":[{"ecosystem":"Debian:12","package":"libgd2","fixed_in":["2.0.30-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libgd2","fixed_in":["2.0.30-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libgd2","fixed_in":["2.0.30-1"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"libgd","fixed_in":["1.8.4-17.woody3"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"libgd2","fixed_in":["2.0.1-10woody1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libgd2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.30-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libgd2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.30-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libgd2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.30-1"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"libgd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.4-17.woody3"}]}],"versions":["1.8.4-17.woody2"]},{"source":"osv","ecosystem":"Debian:3.0","package":"libgd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.4-17.woody3"}]}],"versions":["1.8.4-17.woody2"]},{"source":"osv","ecosystem":"Debian:3.0","package":"libgd2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1-10woody1"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"libgd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.4-17.woody4"}]}],"versions":["1.8.4-17.woody2"],"bundled":2},{"source":"osv","ecosystem":"Debian:3.0","package":"libgd2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1-10woody2"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"gd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.4-12.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"gd-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.4-12.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"gd-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.4-12.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"gd-progs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.4-12.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"gd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.4-12.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"gd-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.4-12.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"gd-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.4-12.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"gd-progs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.4-12.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"gd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.4-12.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"gd-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.4-12.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"gd-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.4-12.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"gd-progs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.4-12.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"gd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.4-12.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"gd-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.4-12.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"gd-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.4-12.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"gd-progs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.4-12.3.1"}]}],"bundled":2}],"products":[{"vendor":"gd_graphics_library","product":"gdlib"},{"vendor":"gentoo","product":"linux"},{"vendor":"openpkg","product":"openpkg"},{"vendor":"suse","product":"suse_linux"},{"vendor":"trustix","product":"secure_linux"}],"references":[{"url":"http://www.ciac.org/ciac/bulletins/p-071.shtml","tags":["third-party-advisory","government-resource","x_refsource_CIAC","x_transferred","web"]},{"url":"http://secunia.com/advisories/23783","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.osvdb.org/11190","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://secunia.com/advisories/21050","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/bid/11523","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17866","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-638.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"http://www.debian.org/security/2004/dsa-602","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:113","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1260","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://lists.suse.com/archive/suse-security-announce/2006-Feb/0001.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://www.trustix.org/errata/2004/0058","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred","web"]},{"url":"https://issues.rpath.com/browse/RPL-939","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.debian.org/security/2004/dsa-589","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:114","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://www.debian.org/security/2004/dsa-601","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:132","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/18717","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:122","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"https://www.ubuntu.com/usn/usn-25-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9952","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://marc.info/?l=bugtraq\u0026m=109882489302099\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"https://www.ubuntu.com/usn/usn-11-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/20824","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.debian.org/security/2004/dsa-591","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/20866","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0990","tags":["advisory"]},{"url":"https://www.ubuntu.com/usn/usn-11-1"},{"url":"https://www.ubuntu.com/usn/usn-25-1"},{"url":"https://github.com/advisories/GHSA-23x9-mmjc-x474"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-0990","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2004:638","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=137246","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=138808","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2004/rhsa-2004_638.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0941","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=175413","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0941","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0941","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0990","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617343","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0990","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-0990","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.","status":"published","published":"2004-10-28T04:00:00Z","modified":"2024-08-08T00:39:00.367Z","updated_at":"2026-11-02T14:34:54.398187Z"}],"euvd":[{"id":"EUVD-2004-0988","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.","status":"published","published":"2004-10-28T04:00:00Z","modified":"2024-08-08T00:39:00Z","updated_at":"2026-11-03T01:15:16.711153Z"}],"ghsa":[{"id":"GHSA-23x9-mmjc-x474","title":"Integer overflow in GD Graphics Library libgd 2.0.28 (libgd2), and possibly other versions,...","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.","status":"published","published":"2022-04-29T02:58:44Z","modified":"2025-04-03T04:09:26Z","updated_at":"2026-11-02T15:00:41.179225Z"}],"nvd":[{"id":"CVE-2004-0990","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.","status":"published","published":"2005-03-01T05:00:00Z","modified":"2026-06-16T22:06:48.367Z","cvss":[{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:53.662124Z"}],"osv":[{"id":"CVE-2004-0990","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.","status":"published","published":"2005-03-01T05:00:00Z","modified":"2026-04-10T03:35:58.307151Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2004-0990","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.","status":"published","published":"2005-03-01T05:00:00Z","modified":"2026-10-21T15:47:29.749263241Z","updated_at":"2026-11-02T15:45:22.55978Z"},{"id":"DSA-589-1","title":"libgd - integer overflows","status":"published","published":"2004-11-09T00:00:00Z","modified":"2026-03-09T02:10:16.702986Z","updated_at":"2026-11-02T15:46:18.296714Z"},{"id":"DSA-591-1","title":"libgd2 - integer overflows","status":"published","published":"2004-11-09T00:00:00Z","modified":"2026-03-09T02:08:36.20843Z","updated_at":"2026-11-02T15:46:18.296714Z"},{"id":"DSA-601-1","title":"libgd1 - integer overflow","status":"published","published":"2004-11-29T00:00:00Z","modified":"2026-03-09T02:09:16.773204Z","updated_at":"2026-11-02T15:46:18.296714Z"},{"id":"DSA-602-1","title":"libgd2 - integer overlow","status":"published","published":"2004-11-29T00:00:00Z","modified":"2026-03-09T02:10:06.357089Z","updated_at":"2026-11-02T15:46:18.296714Z"},{"id":"RHSA-2004:638","title":"Red Hat Security Advisory: gd security update","status":"published","published":"2024-11-05T16:25:36Z","modified":"2026-06-26T10:01:49Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
