gd: Integer overflow in gd_io.c
Published Mar 15, 2017
7.8
HIGHCVSS 3.0
EPSS 3.72%
Description
Integer overflow in gd_io.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspecified impact via vectors involving the number of horizontal and vertical chunks in an image.
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:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
AV:N/AC:M/Au:N/C:P/I:P/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.72% (0.03715) | 89.42th | v5 (v2026.06.15) |
| Sep 22, 2026 | 3.72% (0.03715) | 89.28th | v5 (v2026.06.15) |
| Sep 21, 2026 | 6.96% (0.06955) | 93.90th | v5 (v2026.06.15) |
| Sep 6, 2026 | 3.72% (0.03715) | 89.03th | v5 (v2026.06.15) |
| Sep 5, 2026 | 6.96% (0.06955) | 93.77th | v5 (v2026.06.15) |
| Aug 30, 2026 | 3.72% (0.03715) | 88.98th | v5 (v2026.06.15) |
| Aug 28, 2026 | 6.96% (0.06955) | 93.73th | v5 (v2026.06.15) |
| Aug 24, 2026 | 3.72% (0.03715) | 88.91th | v5 (v2026.06.15) |
| Aug 23, 2026 | 6.96% (0.06955) | 93.70th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.72% (0.03715) | 88.31th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.18% (0.00185) | 38.02th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.65% (0.00645) | 79.98th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.59% (0.00594) | 77.67th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.59% (0.00594) | 75.02th | 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_CONFIRMVendor 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-10168 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1418986 Issue Tracking
- https://github.com/libgd/libgd/commit/69d2fd2c597ffc0c217de1238b9bf4d4bceba8e6 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://github.com/libgd/libgd/issues/354 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2016-10168
- https://www.cve.org/CVERecord?id=CVE-2016-10168
Change history (0)
No recorded changes yet.