CVE catalog

CVE-2014-5120

libgd2: CVE-2014-5120

[CVE catalog]

Severity
Low
Published
Source
[NVD] · [CVE record]
EPSS
16.93% · Oct 25, 2026

gd_ctx.c in the GD component in PHP 5.4.x before 5.4.32 and 5.5.x before 5.5.16 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to overwrite arbitrary files via crafted input to an application that calls the (1) imagegd, (2) imagegd2, (3) imagegif, (4) imagejpeg, (5) imagepng, (6) imagewbmp, or (7) imagewebp function.

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-14not affected
Debianlibgd2forky2.3.3-14not affected
Debianlibgd2trixie2.3.3-14~deb13u1not affected
Debianlibgd2trixie-security2.3.3-14~deb13u1not affected
Debianlibgd2bookworm2.3.3-9not affected
Debianlibgd2bookworm-security2.3.3-9+deb12u1not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibgd2sourcesidNot affectedunimportantNot reportedNot reported
Debianlibgd2sourceforkyNot affectedunimportantNot reportedNot reported
Debianlibgd2sourcetrixieNot affectedunimportantNot reportedNot reported
Debianlibgd2sourcebookwormNot affectedunimportantNot 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

      Not affected

      dsa · libgd2 · debian · bookworm

    • 2.3.3-9 · arm64 · bookworm

      Not affected

      dsa · libgd2 · debian · bookworm

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

      Not affected

      dsa · libgd2 · debian · bookworm

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

      Not affected

      dsa · libgd2 · debian · bookworm

  • [libgd-dev]Unknown

    Source package: [libgd2]

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

      Not affected

      dsa · libgd2 · debian · bookworm

    • 2.3.3-9 · arm64 · bookworm

      Not affected

      dsa · libgd2 · debian · bookworm

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

      Not affected

      dsa · libgd2 · debian · bookworm

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

      Not affected

      dsa · libgd2 · debian · bookworm

  • [libgd-tools]Unknown

    Source package: [libgd2]

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

      Not affected

      dsa · libgd2 · debian · bookworm

    • 2.3.3-9 · arm64 · bookworm

      Not affected

      dsa · libgd2 · debian · bookworm

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

      Not affected

      dsa · libgd2 · debian · bookworm

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

      Not affected

      dsa · libgd2 · debian · bookworm

Observed:

References