---
title: "CVE-2004-0990\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2004-0990?format=md
keywords: index, follow
---

# CVE-2004-0990

Publication date 1 March 2005

Last updated 17 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libgd | 7.04 feisty | Fixed 1.8.4.debian-1 |
| 6.10 edgy | Fixed 1.8.4.debian-1 |
| 6.06 LTS dapper | Fixed 1.8.4.debian-1 |
| libgd2 | 7.04 feisty | Fixed 2.0.34~rc1-2ubuntu1.1 |
| 6.10 edgy | Fixed 2.0.33-4ubuntu2.1 |
| 6.06 LTS dapper | Fixed 2.0.33-2ubuntu5.2 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0990)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2004-0990)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2004-0990)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2004-0990)

### Related Ubuntu Security Notices (USN)

+ [USN-21-1](https://usn.ubuntu.com/USN-21-1)
+ libgd vulnerabilities
+ 10 November 2004

+ [USN-11-1](https://usn.ubuntu.com/USN-11-1)
+ libgd2 vulnerabilities
+ 29 October 2004

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2004-0990>
