
CVE catalog
CVE-2016-9933
libgd2: CVE-2016-9933
- Severity
- High · CVSS 7.5
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libgd2 | sid | 2.3.3-14 | fixed |
| Debian | libgd2 | forky | 2.3.3-14 | fixed |
| Debian | libgd2 | trixie | 2.3.3-14~deb13u1 | fixed |
| Debian | libgd2 | trixie-security | 2.3.3-14~deb13u1 | fixed |
| Debian | libgd2 | bookworm | 2.3.3-9 | fixed |
| Debian | libgd2 | bookworm-security | 2.3.3-9+deb12u1 | fixed |
| Ubuntu | libgd2 | 14.04 | 2.1.0-2 | vulnerable |
| Ubuntu | libgd2 | 14.04 | 2.1.0-3 | vulnerable |
| Ubuntu | libgd2 | 14.04 | 2.1.0-3ubuntu0.1 | vulnerable |
| Ubuntu | libgd2 | 14.04 | 2.1.0-3ubuntu0.2 | vulnerable |
| Ubuntu | libgd2 | 14.04 | 2.1.0-3ubuntu0.3 | vulnerable |
| Ubuntu | libgd2 | 14.04 | 2.1.0-3ubuntu0.5 | vulnerable |
| Ubuntu | libgd2 | 14.04 | 2.1.0-3ubuntu0.6 | fixed |
| Ubuntu | libgd2 | 16.04 | 2.1.1-4build1 | vulnerable |
| Ubuntu | libgd2 | 16.04 | 2.1.1-4build2 | vulnerable |
| Ubuntu | libgd2 | 16.04 | 2.1.1-4ubuntu0.16.04.1 | vulnerable |
| Ubuntu | libgd2 | 16.04 | 2.1.1-4ubuntu0.16.04.2 | vulnerable |
| Ubuntu | libgd2 | 16.04 | 2.1.1-4ubuntu0.16.04.3 | vulnerable |
| Ubuntu | libgd2 | 16.04 | 2.1.1-4ubuntu0.16.04.5 | vulnerable |
| Ubuntu | libgd2 | 16.04 | 2.1.1-4ubuntu0.16.04.6 | fixed |
| Suse | gd | linux enterprise desktop 12 sp1 | 2.1.0-20.1 | fixed |
| Suse | gd | linux enterprise desktop 12 sp2 | 2.1.0-20.1 | fixed |
| Suse | gd | linux enterprise server for raspberry pi 12 sp2 | 2.1.0-20.1 | fixed |
| Suse | gd | linux enterprise software development kit 12 sp1 | 2.1.0-20.1 | fixed |
| Suse | gd | linux enterprise software development kit 12 sp2 | 2.1.0-20.1 | fixed |
| Suse | gd | linux enterprise server 12 sp1 | 2.1.0-20.1 | fixed |
| Suse | gd | linux enterprise server for sap applications 12 sp1 | 2.1.0-20.1 | fixed |
| Suse | gd | linux enterprise server 12 sp2 | 2.1.0-20.1 | fixed |
| Suse | gd | linux enterprise server for sap applications 12 sp2 | 2.1.0-20.1 | fixed |
| Suse | gd | linux enterprise workstation extension 12 sp1 | 2.1.0-20.1 | fixed |
| Suse | gd | linux enterprise workstation extension 12 sp2 | 2.1.0-20.1 | fixed |
| Suse | php5 | linux enterprise module for web and scripting 12 | 5.5.14-89.2 | fixed |
| Suse | php5 | linux enterprise software development kit 12 sp1 | 5.5.14-89.2 | fixed |
| Suse | php5 | linux enterprise software development kit 12 sp2 | 5.5.14-89.2 | fixed |
| Suse | gd | linux enterprise software development kit 11 sp4 | 2.0.36.RC1-52.29.1 | fixed |
| Suse | gd | linux enterprise server 11 sp4 | 2.0.36.RC1-52.29.1 | fixed |
| Suse | gd | linux enterprise server for sap applications 11 sp4 | 2.0.36.RC1-52.29.1 | fixed |
| Suse | php7 | linux enterprise module for web and scripting 12 | 7.0.7-28.2 | fixed |
| Suse | php7 | linux enterprise software development kit 12 sp1 | 7.0.7-28.2 | fixed |
| Suse | php7 | linux enterprise software development kit 12 sp2 | 7.0.7-28.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libgd2 | source | sid | 2.2.2-29-g3c2b605-1 | not yet assigned | Not reported | [849038] |
| Debian | libgd2 | source | forky | 2.2.2-29-g3c2b605-1 | not yet assigned | Not reported | [849038] |
| Debian | libgd2 | source | trixie | 2.2.2-29-g3c2b605-1 | not yet assigned | Not reported | [849038] |
| Debian | libgd2 | source | bookworm | 2.2.2-29-g3c2b605-1 | not yet assigned | Not reported | [849038] |
| Ubuntu | libgd2 | deb | 14.04 | 2.1.0-3ubuntu0.6 | Not reported | UBUNTU-CVE-2016-9933 | Not reported |
| Ubuntu | libgd2 | deb | 16.04 | 2.1.1-4ubuntu0.16.04.6 | Not reported | UBUNTU-CVE-2016-9933 | Not reported |
| Suse | gd | rpm | linux enterprise desktop 12 sp1 | 2.1.0-20.1 | Not reported | SUSE-SU-2016:3211-1 | Not reported |
| Suse | gd | rpm | linux enterprise desktop 12 sp2 | 2.1.0-20.1 | Not reported | SUSE-SU-2016:3211-1 | Not reported |
| Suse | gd | rpm | linux enterprise server for raspberry pi 12 sp2 | 2.1.0-20.1 | Not reported | SUSE-SU-2016:3211-1 | Not reported |
| Suse | gd | rpm | linux enterprise software development kit 12 sp1 | 2.1.0-20.1 | Not reported | SUSE-SU-2016:3211-1 | Not reported |
| Suse | gd | rpm | linux enterprise software development kit 12 sp2 | 2.1.0-20.1 | Not reported | SUSE-SU-2016:3211-1 | Not reported |
| Suse | gd | rpm | linux enterprise server 12 sp1 | 2.1.0-20.1 | Not reported | SUSE-SU-2016:3211-1 | Not reported |
| Suse | gd | rpm | linux enterprise server for sap applications 12 sp1 | 2.1.0-20.1 | Not reported | SUSE-SU-2016:3211-1 | Not reported |
| Suse | gd | rpm | linux enterprise server 12 sp2 | 2.1.0-20.1 | Not reported | SUSE-SU-2016:3211-1 | Not reported |
| Suse | gd | rpm | linux enterprise server for sap applications 12 sp2 | 2.1.0-20.1 | Not reported | SUSE-SU-2016:3211-1 | Not reported |
| Suse | gd | rpm | linux enterprise workstation extension 12 sp1 | 2.1.0-20.1 | Not reported | SUSE-SU-2016:3211-1 | Not reported |
| Suse | gd | rpm | linux enterprise workstation extension 12 sp2 | 2.1.0-20.1 | Not reported | SUSE-SU-2016:3211-1 | Not reported |
| Suse | php5 | rpm | linux enterprise module for web and scripting 12 | 5.5.14-89.2 | Not reported | SUSE-SU-2017:0038-1 | Not reported |
| Suse | php5 | rpm | linux enterprise software development kit 12 sp1 | 5.5.14-89.2 | Not reported | SUSE-SU-2017:0038-1 | Not reported |
| Suse | php5 | rpm | linux enterprise software development kit 12 sp2 | 5.5.14-89.2 | Not reported | SUSE-SU-2017:0038-1 | Not reported |
| Suse | gd | rpm | linux enterprise software development kit 11 sp4 | 2.0.36.RC1-52.29.1 | Not reported | SUSE-SU-2016:3251-1 | Not reported |
| Suse | gd | rpm | linux enterprise server 11 sp4 | 2.0.36.RC1-52.29.1 | Not reported | SUSE-SU-2016:3251-1 | Not reported |
| Suse | gd | rpm | linux enterprise server for sap applications 11 sp4 | 2.0.36.RC1-52.29.1 | Not reported | SUSE-SU-2016:3251-1 | Not reported |
| Suse | php7 | rpm | linux enterprise module for web and scripting 12 | 7.0.7-28.2 | Not reported | SUSE-SU-2017:0017-1 | Not reported |
| Suse | php7 | rpm | linux enterprise software development kit 12 sp1 | 7.0.7-28.2 | Not reported | SUSE-SU-2017:0017-1 | Not reported |
| Suse | php7 | rpm | linux enterprise software development kit 12 sp2 | 7.0.7-28.2 | Not reported | SUSE-SU-2017:0017-1 | Not 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 · bookwormFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
2.3.3-9· arm64 · bookwormFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
2.3.3-9+deb12u1· amd64 · bookworm-securityFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
2.3.3-9+deb12u1· arm64 · bookworm-securityFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
- [libgd-dev]Unknown
Source package: [libgd2]
Details (4)
2.3.3-9· amd64 · bookwormFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
2.3.3-9· arm64 · bookwormFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
2.3.3-9+deb12u1· amd64 · bookworm-securityFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
2.3.3-9+deb12u1· arm64 · bookworm-securityFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
- [libgd-tools]Unknown
Source package: [libgd2]
Details (4)
2.3.3-9· amd64 · bookwormFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
2.3.3-9· arm64 · bookwormFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
2.3.3-9+deb12u1· amd64 · bookworm-securityFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
2.3.3-9+deb12u1· arm64 · bookworm-securityFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
[Debian 13 (Trixie)]
- [libgd3]Unknown
Source package: [libgd2]
Details (4)
2.3.3-13· amd64 · trixieFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · 13
2.3.3-13· arm64 · trixieFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · 13
2.3.3-14~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · 13
2.3.3-14~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · 13
- [libgd-dev]Unknown
Source package: [libgd2]
Details (4)
2.3.3-13· amd64 · trixieFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · 13
2.3.3-13· arm64 · trixieFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · 13
2.3.3-14~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · 13
2.3.3-14~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · 13
- [libgd-tools]Unknown
Source package: [libgd2]
Details (4)
2.3.3-13· amd64 · trixieFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · 13
2.3.3-13· arm64 · trixieFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · 13
2.3.3-14~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · 13
2.3.3-14~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.2.2-29-g3c2b605-1dsa · libgd2 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2016_3211-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2016-9933]
- [https://osv.dev/vulnerability/DLA-758-1]
- [https://osv.dev/vulnerability/DSA-3751-1]
- [https://osv.dev/vulnerability/SUSE-SU-2016:3211-1]
- [https://osv.dev/vulnerability/SUSE-SU-2016:3251-1]
- [https://osv.dev/vulnerability/SUSE-SU-2017:0017-1]
- [https://osv.dev/vulnerability/SUSE-SU-2017:0038-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2016-9933]
- [https://security-tracker.debian.org/tracker/CVE-2016-9933]
- [https://security.access.redhat.com/data/csaf/v2/vex/2016/cve-2016-9933.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]