CVE catalog

CVE-2016-9933

libgd2: CVE-2016-9933

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
6.87% · Oct 25, 2026

Stack consumption vulnerability in the gdImageFillToBorder function in gd.c in the GD Graphics Library (aka libgd) before 2.2.2, as used in PHP before 5.6.28 and 7.x before 7.0.13, allows remote attackers to cause a denial of service (segmentation violation) via a crafted imagefilltoborder call that triggers use of a negative color value.

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.1vulnerable
Ubuntulibgd214.042.1.0-3ubuntu0.2vulnerable
Ubuntulibgd214.042.1.0-3ubuntu0.3vulnerable
Ubuntulibgd214.042.1.0-3ubuntu0.5vulnerable
Ubuntulibgd214.042.1.0-3ubuntu0.6fixed
Ubuntulibgd216.042.1.1-4build1vulnerable
Ubuntulibgd216.042.1.1-4build2vulnerable
Ubuntulibgd216.042.1.1-4ubuntu0.16.04.1vulnerable
Ubuntulibgd216.042.1.1-4ubuntu0.16.04.2vulnerable
Ubuntulibgd216.042.1.1-4ubuntu0.16.04.3vulnerable
Ubuntulibgd216.042.1.1-4ubuntu0.16.04.5vulnerable
Ubuntulibgd216.042.1.1-4ubuntu0.16.04.6fixed
Susegdlinux enterprise desktop 12 sp12.1.0-20.1fixed
Susegdlinux enterprise desktop 12 sp22.1.0-20.1fixed
Susegdlinux enterprise server for raspberry pi 12 sp22.1.0-20.1fixed
Susegdlinux enterprise software development kit 12 sp12.1.0-20.1fixed
Susegdlinux enterprise software development kit 12 sp22.1.0-20.1fixed
Susegdlinux enterprise server 12 sp12.1.0-20.1fixed
Susegdlinux enterprise server for sap applications 12 sp12.1.0-20.1fixed
Susegdlinux enterprise server 12 sp22.1.0-20.1fixed
Susegdlinux enterprise server for sap applications 12 sp22.1.0-20.1fixed
Susegdlinux enterprise workstation extension 12 sp12.1.0-20.1fixed
Susegdlinux enterprise workstation extension 12 sp22.1.0-20.1fixed
Susephp5linux enterprise module for web and scripting 125.5.14-89.2fixed
Susephp5linux enterprise software development kit 12 sp15.5.14-89.2fixed
Susephp5linux enterprise software development kit 12 sp25.5.14-89.2fixed
Susegdlinux enterprise software development kit 11 sp42.0.36.RC1-52.29.1fixed
Susegdlinux enterprise server 11 sp42.0.36.RC1-52.29.1fixed
Susegdlinux enterprise server for sap applications 11 sp42.0.36.RC1-52.29.1fixed
Susephp7linux enterprise module for web and scripting 127.0.7-28.2fixed
Susephp7linux enterprise software development kit 12 sp17.0.7-28.2fixed
Susephp7linux enterprise software development kit 12 sp27.0.7-28.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibgd2sourcesid2.2.2-29-g3c2b605-1not yet assignedNot reported[849038]
Debianlibgd2sourceforky2.2.2-29-g3c2b605-1not yet assignedNot reported[849038]
Debianlibgd2sourcetrixie2.2.2-29-g3c2b605-1not yet assignedNot reported[849038]
Debianlibgd2sourcebookworm2.2.2-29-g3c2b605-1not yet assignedNot reported[849038]
Ubuntulibgd2deb14.042.1.0-3ubuntu0.6Not reportedUBUNTU-CVE-2016-9933Not reported
Ubuntulibgd2deb16.042.1.1-4ubuntu0.16.04.6Not reportedUBUNTU-CVE-2016-9933Not reported
Susegdrpmlinux enterprise desktop 12 sp12.1.0-20.1Not reportedSUSE-SU-2016:3211-1Not reported
Susegdrpmlinux enterprise desktop 12 sp22.1.0-20.1Not reportedSUSE-SU-2016:3211-1Not reported
Susegdrpmlinux enterprise server for raspberry pi 12 sp22.1.0-20.1Not reportedSUSE-SU-2016:3211-1Not reported
Susegdrpmlinux enterprise software development kit 12 sp12.1.0-20.1Not reportedSUSE-SU-2016:3211-1Not reported
Susegdrpmlinux enterprise software development kit 12 sp22.1.0-20.1Not reportedSUSE-SU-2016:3211-1Not reported
Susegdrpmlinux enterprise server 12 sp12.1.0-20.1Not reportedSUSE-SU-2016:3211-1Not reported
Susegdrpmlinux enterprise server for sap applications 12 sp12.1.0-20.1Not reportedSUSE-SU-2016:3211-1Not reported
Susegdrpmlinux enterprise server 12 sp22.1.0-20.1Not reportedSUSE-SU-2016:3211-1Not reported
Susegdrpmlinux enterprise server for sap applications 12 sp22.1.0-20.1Not reportedSUSE-SU-2016:3211-1Not reported
Susegdrpmlinux enterprise workstation extension 12 sp12.1.0-20.1Not reportedSUSE-SU-2016:3211-1Not reported
Susegdrpmlinux enterprise workstation extension 12 sp22.1.0-20.1Not reportedSUSE-SU-2016:3211-1Not reported
Susephp5rpmlinux enterprise module for web and scripting 125.5.14-89.2Not reportedSUSE-SU-2017:0038-1Not reported
Susephp5rpmlinux enterprise software development kit 12 sp15.5.14-89.2Not reportedSUSE-SU-2017:0038-1Not reported
Susephp5rpmlinux enterprise software development kit 12 sp25.5.14-89.2Not reportedSUSE-SU-2017:0038-1Not reported
Susegdrpmlinux enterprise software development kit 11 sp42.0.36.RC1-52.29.1Not reportedSUSE-SU-2016:3251-1Not reported
Susegdrpmlinux enterprise server 11 sp42.0.36.RC1-52.29.1Not reportedSUSE-SU-2016:3251-1Not reported
Susegdrpmlinux enterprise server for sap applications 11 sp42.0.36.RC1-52.29.1Not reportedSUSE-SU-2016:3251-1Not reported
Susephp7rpmlinux enterprise module for web and scripting 127.0.7-28.2Not reportedSUSE-SU-2017:0017-1Not reported
Susephp7rpmlinux enterprise software development kit 12 sp17.0.7-28.2Not reportedSUSE-SU-2017:0017-1Not reported
Susephp7rpmlinux enterprise software development kit 12 sp27.0.7-28.2Not reportedSUSE-SU-2017:0017-1Not reported

[Debian bug #849038]

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.2.2-29-g3c2b605-1

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

    • 2.3.3-9 · arm64 · bookworm

      Fixed · Fixed: 2.2.2-29-g3c2b605-1

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

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

      Fixed · Fixed: 2.2.2-29-g3c2b605-1

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

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

      Fixed · Fixed: 2.2.2-29-g3c2b605-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.2.2-29-g3c2b605-1

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

    • 2.3.3-9 · arm64 · bookworm

      Fixed · Fixed: 2.2.2-29-g3c2b605-1

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

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

      Fixed · Fixed: 2.2.2-29-g3c2b605-1

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

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

      Fixed · Fixed: 2.2.2-29-g3c2b605-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.2.2-29-g3c2b605-1

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

    • 2.3.3-9 · arm64 · bookworm

      Fixed · Fixed: 2.2.2-29-g3c2b605-1

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

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

      Fixed · Fixed: 2.2.2-29-g3c2b605-1

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

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

      Fixed · Fixed: 2.2.2-29-g3c2b605-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.2.2-29-g3c2b605-1

      dsa · libgd2 · debian · 13

    • 2.3.3-13 · arm64 · trixie

      Fixed · Fixed: 2.2.2-29-g3c2b605-1

      dsa · libgd2 · debian · 13

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

      Fixed · Fixed: 2.2.2-29-g3c2b605-1

      dsa · libgd2 · debian · 13

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

      Fixed · Fixed: 2.2.2-29-g3c2b605-1

      dsa · libgd2 · debian · 13

  • [libgd-dev]Unknown

    Source package: [libgd2]

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

      Fixed · Fixed: 2.2.2-29-g3c2b605-1

      dsa · libgd2 · debian · 13

    • 2.3.3-13 · arm64 · trixie

      Fixed · Fixed: 2.2.2-29-g3c2b605-1

      dsa · libgd2 · debian · 13

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

      Fixed · Fixed: 2.2.2-29-g3c2b605-1

      dsa · libgd2 · debian · 13

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

      Fixed · Fixed: 2.2.2-29-g3c2b605-1

      dsa · libgd2 · debian · 13

  • [libgd-tools]Unknown

    Source package: [libgd2]

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

      Fixed · Fixed: 2.2.2-29-g3c2b605-1

      dsa · libgd2 · debian · 13

    • 2.3.3-13 · arm64 · trixie

      Fixed · Fixed: 2.2.2-29-g3c2b605-1

      dsa · libgd2 · debian · 13

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

      Fixed · Fixed: 2.2.2-29-g3c2b605-1

      dsa · libgd2 · debian · 13

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

      Fixed · Fixed: 2.2.2-29-g3c2b605-1

      dsa · libgd2 · debian · 13

Observed:

References