gd: Missing check for oversized images in gdImageCreate()
Published Jan 26, 2017
8.1
HIGHCVSS 3.0
EPSS 3.58%
Description
The gdImageCreate function in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to cause a denial of service (system hang) via an oversized image.
Affected products
No data.
No data.
Red Hat Enterprise Linux 5
gd
Will not fix
Red Hat Enterprise Linux 5
libwmf
Will not fix
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Not affected
Red Hat Enterprise Linux 6
gd
Will not fix
Red Hat Enterprise Linux 6
libwmf
Not affected
Red Hat Enterprise Linux 6
php
Not affected
Red Hat Enterprise Linux 7
gd
Will not fix
Red Hat Enterprise Linux 7
libwmf
Not affected
Red Hat Enterprise Linux 7
php
Not affected
Red Hat OpenShift Enterprise 2
gd
Will not fix
Red Hat OpenShift Enterprise 2
php
Not affected
Red Hat Software Collections
rh-php56-php
Not affected
Red Hat Software Collections
rh-php70-php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| 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 | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | gd | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | libwmf | Not affected | n/a |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
| Red Hat Enterprise Linux 7 | gd | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | libwmf | Not affected | n/a |
| Red Hat Enterprise Linux 7 | php | Not affected | n/a |
| Red Hat OpenShift Enterprise 2 | gd | Will not fix | n/a |
| Red Hat OpenShift Enterprise 2 | php | Not affected | n/a |
| Red Hat Software Collections | rh-php56-php | Not affected | n/a |
| Red Hat Software Collections | rh-php70-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:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:N/I:N/A:C
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 (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.58% (0.03581) | 89.03th | v5 (v2026.06.15) |
| Sep 22, 2026 | 3.58% (0.03581) | 88.88th | v5 (v2026.06.15) |
| Sep 21, 2026 | 6.33% (0.06326) | 93.39th | v5 (v2026.06.15) |
| Sep 6, 2026 | 3.58% (0.03581) | 88.63th | v5 (v2026.06.15) |
| Sep 5, 2026 | 6.33% (0.06326) | 93.25th | v5 (v2026.06.15) |
| Aug 30, 2026 | 3.58% (0.03581) | 88.57th | v5 (v2026.06.15) |
| Aug 28, 2026 | 6.33% (0.06326) | 93.20th | v5 (v2026.06.15) |
| Aug 24, 2026 | 3.58% (0.03581) | 88.50th | v5 (v2026.06.15) |
| Aug 23, 2026 | 6.33% (0.06326) | 93.18th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.58% (0.03581) | 87.87th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.19% (0.00193) | 39.18th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.40% (0.00395) | 74.28th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.40% (0.00395) | 72.75th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.39% (0.00394) | 69.22th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.21% (0.01213) | 66.61th | v2 (v2022.01.01) |
| Feb 17, 2023 | 1.21% (0.01213) | 66.22th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.21% (0.01213) | 64.21th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.21% (0.01213) | 40.54th | v2 (v2022.01.01) |
References (8)
- http://www.debian.org/security/2017/dsa-3777 vendor-advisoryx_refsource_DEBIAN
- http://www.securityfocus.com/bid/95841 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2016-9317 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1417987 Issue Tracking
- https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.md x_refsource_CONFIRMIssue TrackingPatchRelease NotesThird Party Advisory
- https://github.com/libgd/libgd/commit/1846f48e5fcdde996e7c27a4bbac5d0aef183e4b x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2016-9317
- https://www.cve.org/CVERecord?id=CVE-2016-9317
| Link | Providers | Tags |
|---|---|---|
| http://www.debian.org/security/2017/dsa-3777 | vendor-advisoryx_refsource_DEBIAN | |
| http://www.securityfocus.com/bid/95841 | vdb-entryx_refsource_BID | |
| https://access.redhat.com/security/cve/CVE-2016-9317 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1417987 | Issue Tracking | |
| https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.md | x_refsource_CONFIRMIssue TrackingPatchRelease NotesThird Party Advisory | |
| https://github.com/libgd/libgd/commit/1846f48e5fcdde996e7c27a4bbac5d0aef183e4b | x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2016-9317 | ||
| https://www.cve.org/CVERecord?id=CVE-2016-9317 |
Change history (0)
No recorded changes yet.