CVE catalog

CVE-2004-0990

libgd2: CVE-2004-0990

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
28.26% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibgd2sid2.3.3-14fixed
Debianlibgd2forky2.3.3-14fixed
Debianlibgd2trixie2.3.3-14~deb13u1fixed
Debianlibgd2trixie-security2.3.3-14~deb13u1fixed
Debianlibgd2bookworm2.3.3-9fixed
Debianlibgd2bookworm-security2.3.3-9+deb12u1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibgd2sourcesid2.0.30-1not yet assignedNot reportedNot reported
Debianlibgd2sourceforky2.0.30-1not yet assignedNot reportedNot reported
Debianlibgd2sourcetrixie2.0.30-1not yet assignedNot reportedNot reported
Debianlibgd2sourcebookworm2.0.30-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libgd3]Unknown

    Source package: [libgd2]

    Details (4)
    • 2.3.3-9 · amd64 · bookworm

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

    • 2.3.3-9 · arm64 · bookworm

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

    • 2.3.3-9+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

    • 2.3.3-9+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

  • [libgd-dev]Unknown

    Source package: [libgd2]

    Details (4)
    • 2.3.3-9 · amd64 · bookworm

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

    • 2.3.3-9 · arm64 · bookworm

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

    • 2.3.3-9+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

    • 2.3.3-9+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

  • [libgd-tools]Unknown

    Source package: [libgd2]

    Details (4)
    • 2.3.3-9 · amd64 · bookworm

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

    • 2.3.3-9 · arm64 · bookworm

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

    • 2.3.3-9+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

    • 2.3.3-9+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

[Debian 13 (Trixie)]

  • [libgd3]Unknown

    Source package: [libgd2]

    Details (4)
    • 2.3.3-13 · amd64 · trixie

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · 13

    • 2.3.3-13 · arm64 · trixie

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · 13

    • 2.3.3-14~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · 13

    • 2.3.3-14~deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · 13

  • [libgd-dev]Unknown

    Source package: [libgd2]

    Details (4)
    • 2.3.3-13 · amd64 · trixie

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · 13

    • 2.3.3-13 · arm64 · trixie

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · 13

    • 2.3.3-14~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · 13

    • 2.3.3-14~deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · 13

  • [libgd-tools]Unknown

    Source package: [libgd2]

    Details (4)
    • 2.3.3-13 · amd64 · trixie

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · 13

    • 2.3.3-13 · arm64 · trixie

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · 13

    • 2.3.3-14~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · 13

    • 2.3.3-14~deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.0.30-1

      dsa · libgd2 · debian · 13

Observed:

References