CVE catalog

CVE-2014-2497

libgd2: CVE-2014-2497

[CVE catalog]

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

The gdImageCreateFromXpm function in gdxpm.c in libgd, as used in PHP 5.4.26 and earlier, allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted color table in an XPM file.

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
Ubuntulibgd214.042.1.0-2vulnerable
Ubuntulibgd214.042.1.0-3vulnerable
Ubuntulibgd214.042.1.0-3ubuntu0.1fixed
Ubuntulibgd214.042.1.0-2vulnerable
Ubuntulibgd214.042.1.0-3vulnerable
Ubuntulibgd214.042.1.0-3ubuntu0.1fixed
Ubuntulibgd216.042.1.1-4build1vulnerable
Ubuntulibgd216.042.1.1-4build2vulnerable
Ubuntulibgd216.042.1.1-4ubuntu0.16.04.1fixed
Opensusegdtumbleweed2.2.3-2.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibgd2sourcesid2.1.0-4lowNot reported[744719]
Debianlibgd2sourceforky2.1.0-4lowNot reported[744719]
Debianlibgd2sourcetrixie2.1.0-4lowNot reported[744719]
Debianlibgd2sourcebookworm2.1.0-4lowNot reported[744719]
Ubuntulibgd2deb14.042.1.0-3ubuntu0.1Not reportedUBUNTU-CVE-2014-2497Not reported
Ubuntulibgd2deb14.042.1.0-3ubuntu0.1Not reportedUSN-2987-1Not reported
Ubuntulibgd2deb16.042.1.1-4ubuntu0.16.04.1Not reportedUSN-2987-1Not reported
Opensusegdrpmtumbleweed2.2.3-2.1Not reportedOPENSUSE-SU-2024:10062-1Not reported

[Debian bug #744719]

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.1.0-4

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

    • 2.3.3-9 · arm64 · bookworm

      Fixed · Fixed: 2.1.0-4

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

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

      Fixed · Fixed: 2.1.0-4

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

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

      Fixed · Fixed: 2.1.0-4

      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.1.0-4

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

    • 2.3.3-9 · arm64 · bookworm

      Fixed · Fixed: 2.1.0-4

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

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

      Fixed · Fixed: 2.1.0-4

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

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

      Fixed · Fixed: 2.1.0-4

      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.1.0-4

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

    • 2.3.3-9 · arm64 · bookworm

      Fixed · Fixed: 2.1.0-4

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

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

      Fixed · Fixed: 2.1.0-4

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

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

      Fixed · Fixed: 2.1.0-4

      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.1.0-4

      dsa · libgd2 · debian · 13

    • 2.3.3-13 · arm64 · trixie

      Fixed · Fixed: 2.1.0-4

      dsa · libgd2 · debian · 13

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

      Fixed · Fixed: 2.1.0-4

      dsa · libgd2 · debian · 13

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

      Fixed · Fixed: 2.1.0-4

      dsa · libgd2 · debian · 13

  • [libgd-dev]Unknown

    Source package: [libgd2]

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

      Fixed · Fixed: 2.1.0-4

      dsa · libgd2 · debian · 13

    • 2.3.3-13 · arm64 · trixie

      Fixed · Fixed: 2.1.0-4

      dsa · libgd2 · debian · 13

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

      Fixed · Fixed: 2.1.0-4

      dsa · libgd2 · debian · 13

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

      Fixed · Fixed: 2.1.0-4

      dsa · libgd2 · debian · 13

  • [libgd-tools]Unknown

    Source package: [libgd2]

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

      Fixed · Fixed: 2.1.0-4

      dsa · libgd2 · debian · 13

    • 2.3.3-13 · arm64 · trixie

      Fixed · Fixed: 2.1.0-4

      dsa · libgd2 · debian · 13

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

      Fixed · Fixed: 2.1.0-4

      dsa · libgd2 · debian · 13

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

      Fixed · Fixed: 2.1.0-4

      dsa · libgd2 · debian · 13

[openSUSE Tumbleweed]

  • [gd]Unknown

    Source package: [gd]

    Details (1)
    • 2.3.3-6.1 · x86_64 · tumbleweed

      Fixed · Fixed: 2.2.3-2.1

      dsa · gd · opensuse · tumbleweed

  • [gd-devel]Unknown

    Source package: [gd]

    Details (1)
    • 2.3.3-6.1 · x86_64 · tumbleweed

      Unknown · Fixed: 2.2.3-2.1

      Version impact unknown

      dsa · gd · opensuse · tumbleweed

  • Source package: [gd]

    Details (1)
    • 2.3.3-6.1 · x86_64 · tumbleweed

      Unknown · Fixed: 2.2.3-2.1

      Version impact unknown

      dsa · gd · opensuse · tumbleweed

  • [libgd3]Unknown

    Source package: [gd]

    Details (1)
    • 2.3.3-6.1 · x86_64 · tumbleweed

      Unknown · Fixed: 2.2.3-2.1

      Version impact unknown

      dsa · gd · opensuse · tumbleweed

  • [libgd3-32bit]Unknown

    Source package: [gd]

    Details (1)
    • 2.3.3-6.1 · x86_64 · tumbleweed

      Unknown · Fixed: 2.2.3-2.1

      Version impact unknown

      dsa · gd · opensuse · tumbleweed

Observed:

References