gd: Double free in the gdImagePngPtr function
Published Sep 7, 2017
7.5
HIGHCVSS 3.0
EPSS 5.10%
Description
Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to cause a denial of service via vectors related to a palette with no colors.
Affected products
No data.
Configuration 2
- 8.0
- 9.0
Configuration 3
- 26
Configuration 4
- 16.04
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
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 Enterprise Linux 7
php
Will not fix
Red Hat Software Collections
rh-php56-php
Will not fix
Red Hat Software Collections
rh-php70-php
Will not fix
| 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 | 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 Enterprise Linux 7 | php | Will not fix | n/a |
| Red Hat Software Collections | rh-php56-php | Will not fix | n/a |
| Red Hat Software Collections | rh-php70-php | Will not fix | 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:N/AC:L/PR:N/UI:N/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:L/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 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 5.10% (0.05102) | 92.11th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.10% (0.05102) | 91.25th | v5 (v2026.06.15) |
| Apr 13, 2026 | 0.41% (0.00411) | 61.42th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.84% (0.00845) | 82.33th | v3 (v2023.03.01) |
| Mar 5, 2024 | 0.84% (0.00845) | 81.69th | v3 (v2023.03.01) |
| May 8, 2023 | 0.84% (0.00845) | 79.68th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.50% (0.00496) | 72.55th | 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) |
| Feb 3, 2022 | 1.62% (0.01623) | 33.90th | v1 |
| Jan 6, 2022 | 1.62% (0.01623) | 33.20th | v1 |
| Sep 1, 2021 | 1.62% (0.01623) | 73.32th | v1 |
| Apr 14, 2021 | 1.62% (0.01623) | 0.00th | v1 |
References (8)
- http://www.debian.org/security/2017/dsa-3961 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2017-6362 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1489842 Issue Tracking
- https://github.com/libgd/libgd/issues/381 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://github.com/libgd/libgd/releases/tag/gd-2.2.5 x_refsource_CONFIRMPatchRelease NotesThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N2BLXX7KNRE7ZVQAKGTHHWS33CUCXVUP/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2017-6362
- https://www.cve.org/CVERecord?id=CVE-2017-6362
| Link | Providers | Tags |
|---|---|---|
| http://www.debian.org/security/2017/dsa-3961 | vendor-advisoryx_refsource_DEBIANThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2017-6362 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1489842 | Issue Tracking | |
| https://github.com/libgd/libgd/issues/381 | x_refsource_CONFIRMIssue TrackingThird Party Advisory | |
| https://github.com/libgd/libgd/releases/tag/gd-2.2.5 | x_refsource_CONFIRMPatchRelease NotesThird Party Advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N2BLXX7KNRE7ZVQAKGTHHWS33CUCXVUP/ | vendor-advisoryx_refsource_FEDORA | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-6362 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-6362 |
Change history (0)
No recorded changes yet.