gd: DoS vulnerability in gdImageCreateFromGd2Ctx()
Published Mar 15, 2017
5.5
MEDIUMCVSS 3.0
EPSS 3.74%
Description
The gdImageCreateFromGd2Ctx function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to cause a denial of service (application crash) via a crafted image file.
Affected products
No data.
No data.
Red Hat Enterprise Linux 7
php-0:5.4.16-43.el7_4
Fixed · RHSA-2017:3221
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php70-php-0:7.0.27-1.el6
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-php70-php-0:7.0.27-1.el6
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Enterprise Linux 5
gd
Will not fix
Red Hat Enterprise Linux 5
libwmf
Will not fix
Red Hat Enterprise Linux 5
php
Will not fix
Red Hat Enterprise Linux 5
php53
Will not fix
Red Hat Enterprise Linux 6
gd
Will not fix
Red Hat Enterprise Linux 6
libwmf
Will not fix
Red Hat Enterprise Linux 6
php
Will not fix
Red Hat Enterprise Linux 7
gd
Will not fix
Red Hat Enterprise Linux 7
libwmf
Will not fix
Red Hat Software Collections
rh-php56-php
Will not fix
Red Hat Software Collections
rh-php71-php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | php-0:5.4.16-43.el7_4 | Fixed | RHSA-2017:3221 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-php70-php-0:7.0.27-1.el6 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-php70-php-0:7.0.27-1.el6 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Enterprise Linux 5 | gd | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | libwmf | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | php53 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | gd | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | libwmf | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | gd | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | libwmf | Will not fix | n/a |
| Red Hat Software Collections | rh-php56-php | Will not fix | n/a |
| Red Hat Software Collections | rh-php71-php | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.74% (0.03736) | 89.49th | v5 (v2026.06.15) |
| Sep 22, 2026 | 3.74% (0.03736) | 89.35th | v5 (v2026.06.15) |
| Sep 21, 2026 | 6.29% (0.06285) | 93.36th | v5 (v2026.06.15) |
| Sep 6, 2026 | 3.74% (0.03736) | 89.11th | v5 (v2026.06.15) |
| Sep 5, 2026 | 6.29% (0.06285) | 93.21th | v5 (v2026.06.15) |
| Aug 30, 2026 | 3.74% (0.03736) | 89.05th | v5 (v2026.06.15) |
| Aug 28, 2026 | 6.29% (0.06285) | 93.17th | v5 (v2026.06.15) |
| Aug 24, 2026 | 3.74% (0.03736) | 88.98th | v5 (v2026.06.15) |
| Aug 23, 2026 | 6.29% (0.06285) | 93.14th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.74% (0.03736) | 88.39th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.42% (0.00416) | 59.61th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.95% (0.01947) | 89.16th | v3 (v2023.03.01) |
| Jul 31, 2023 | 1.80% (0.01796) | 86.52th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.27% (0.01274) | 83.55th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.96% (0.01955) | 78.47th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.96% (0.01955) | 76.59th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.96% (0.01955) | 55.71th | v2 (v2022.01.01) |
References (14)
- http://libgd.github.io/release-2.2.4.html x_refsource_CONFIRMRelease NotesVendor Advisory
- http://www.debian.org/security/2017/dsa-3777 vendor-advisoryx_refsource_DEBIAN
- http://www.openwall.com/lists/oss-security/2017/01/26/1 mailing-listx_refsource_MLISTMailing ListPatchThird Party Advisory
- http://www.openwall.com/lists/oss-security/2017/01/28/6 mailing-listx_refsource_MLISTMailing ListPatchThird Party Advisory
- http://www.securityfocus.com/bid/95869 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1037659 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/errata/RHSA-2017:3221 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2018:1296 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2016-10167 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1418984 Issue Tracking
- https://github.com/libgd/libgd/commit/fe9ed49dafa993e3af96b6a5a589efeea9bfb36f x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2016-10167
- https://www.cve.org/CVERecord?id=CVE-2016-10167
- https://www.tenable.com/security/tns-2017-04 x_refsource_CONFIRM
Change history (0)
No recorded changes yet.