Skip to content
WatchlistCritical

CVE-2004-0990libgd2 Vulnerability

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…

Published Mar 1, 2005 · Updated Aug 4, 2026 · Also known as DEBIAN-CVE-2004-0990, DSA-589-1, DSA-591-1

Key Facts

Patch immediately
  • CVE-2004-0990 is a critical-severity vulnerability (CVSS 10.0 v2) affecting Gdlib (Gd Graphics Library), Openpkg, Linux (Gentoo) and 5 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 28% probability of exploitation in the next 30 days.
  • Fixed versions are available, including gd 0:1.8.4-12.3.1, libgd 1.8.4-17.woody3, libgd 1.8.4-17.woody4.
  • Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.

Scores

CVSS v2

10.0

AV:N/AC:L/Au:N/C:C/I:C/A:C

EPSS (30-day exploit likelihood)

28%

Higher than 98.1% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

40/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Advisories And Exploit References

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.

Affected Products

38 affected entries in total
ProductAffected versionsFixed in
GdlibGd Graphics Library1.8.4, 2.0.1, 2.0.15, 2.0.20, 2.0.21, 2.0.22, 2.0.23, 2.0.26n/a
OpenpkgOpenpkg2.1, 2.2, currentn/a
LinuxGentooSee advisoryn/a
Suse LinuxSuse8.0, 8.1, 8.2, 9.0, 9.1, 9.2n/a
Secure LinuxTrustix1.5, 2.0, 2.1, 2.2n/a
3 more affected products in the full CVE brief

Patched Releases

gd

0:1.8.4-12.3.1

libgd

1.8.4-17.woody3, 1.8.4-17.woody4

libgd2

2.0.1-10woody1, 2.0.1-10woody2, 2.0.30-1

Timeline

  1. Publicly disclosed

    Mar 1, 2005

  2. Last updated

    Aug 4, 2026

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2004-0990 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Oct 19, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.