CVE-2004-0990: Buffer Overflow

Published Oct 28, 2004
·
Updated

Flaw bug created to hold information about an old flaw we knew something about. For more details see the MITRE CVE description.

Other sources

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.

— Ubuntu

Affected Software

32 affected componentsFixes available
ubuntu/libgd<1.8.4.
1.8.4.
ubuntu/libgd<1.8.4.
1.8.4.
ubuntu/libgd<1.8.4.
1.8.4.
ubuntu/libgd2<2.0.33-2ubuntu5.2
2.0.33-2ubuntu5.2
ubuntu/libgd2<2.0.33-4ubuntu2.1
2.0.33-4ubuntu2.1
ubuntu/libgd2<2.0.34~
2.0.34~
debian/libgd2
2.3.0-22.3.3-92.3.3-12
GD Graphics Library Gdlib=2.0.26
GD Graphics Library Gdlib=2.0.15
Openpkg Openpkg=2.1
GD Graphics Library Gdlib=2.0.22
Openpkg Openpkg=current
GD Graphics Library Gdlib=2.0.23
GD Graphics Library Gdlib=2.0.27
GD Graphics Library Gdlib=2.0.20
GD Graphics Library Gdlib=1.8.4
Openpkg Openpkg=2.2
GD Graphics Library Gdlib=2.0.1
GD Graphics Library Gdlib=2.0.21
GD Graphics Library Gdlib=2.0.28
Trustix Secure Linux=2.0
SUSE SuSE Linux=9.2
SUSE SuSE Linux=9.0
SUSE SuSE Linux=8.2
SUSE SuSE Linux=9.0
SUSE SuSE Linux=8.0
Trustix Secure Linux=1.5
SUSE SuSE Linux=9.1
Trustix Secure Linux=2.1
Trustix Secure Linux=2.2
Gentoo Linux
SUSE SuSE Linux=8.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/libgd to a version that resolves this vulnerability.

    Fixed in 1.8.4.
  2. Upgrade

    Upgrade ubuntu/libgd2 to a version that resolves this vulnerability.

    Fixed in 2.0.33-2ubuntu5.2
  3. Upgrade

    Upgrade ubuntu/libgd2 to a version that resolves this vulnerability.

    Fixed in 2.0.33-4ubuntu2.1
  4. Upgrade

    Upgrade ubuntu/libgd2 to a version that resolves this vulnerability.

    Fixed in 2.0.34~
  5. Upgrade

    Upgrade debian/libgd2 to a version that resolves this vulnerability.

    Fixed in 2.3.0-2Fixed in 2.3.3-9Fixed in 2.3.3-12

Event History

Oct 28, 2004
CVE Published
via MITRE·04:00 AM
Data Sourced
via MITRE·04:00 AM
Description
CVE Published
via MITRE·08:00 AM
Mar 1, 2005
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
05:00 AM
DescriptionWeaknessAffected Software
Data Sourced
via NVD·05:00 AM
RemedyDescriptionSeverityAffected Software
Oct 11, 2017
Data Sourced
01:29 AM
RemedySeverity
Aug 16, 2018
Data Sourced
via Red Hat·03:25 AM
DescriptionSeverityAffected Software
Jun 16, 2026
Updated
via NVD·10:06 PM
RemedyAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2004-0990?

CVE-2004-0990 is classified as a high severity vulnerability due to its potential for denial of service and arbitrary code execution.

2

How do I fix CVE-2004-0990?

To fix CVE-2004-0990, update to a secure version of the GD Graphics Library, specifically libgd2 version 2.0.33-2ubuntu5.2 or later.

3

Which versions of libgd are affected by CVE-2004-0990?

CVE-2004-0990 affects libgd versions 1.8.4 and 2.0.28, among others.

4

Is CVE-2004-0990 applicable to any software aside from libgd?

CVE-2004-0990 primarily impacts the GD Graphics Library, particularly its handling of PNG files.

5

What kind of attacks are possible due to CVE-2004-0990?

Exploiting CVE-2004-0990 may lead to denial of service attacks or the execution of arbitrary code by sending crafted PNG images.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203