gd: Double free in the gdImage*Ptr in gd_gif_out.c, gd_jpeg.c, and gd_wbmp.c
Published Jan 28, 2019
9.8
CRITICALCVSS 3.0
EPSS 4.45%
Description
The GD Graphics Library (aka LibGD) 2.2.5 has a double free in the gdImage*Ptr() functions in gd_gif_out.c, gd_jpeg.c, and gd_wbmp.c. NOTE: PHP is unaffected.
Affected products
No data.
Configuration 2
- 8.0
- 9.0
Configuration 3
- 14.04
- 16.04
- 18.04
- 18.10
No data.
Red Hat Enterprise Linux 7
libwmf-0:0.2.8.4-44.el7
Fixed · RHSA-2020:3943
Red Hat Enterprise Linux 8
gd-0:2.2.5-7.el8
Fixed · RHSA-2020:4659
Red Hat Enterprise Linux 8
libwmf-0:0.2.9-8.el8_0
Fixed · RHSA-2019:2722
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
Will not fix
Red Hat Enterprise Linux 6
php
Not affected
Red Hat Enterprise Linux 7
gd
Fix deferred
Red Hat Enterprise Linux 7
php
Not affected
Red Hat Enterprise Linux 8
php
Not affected
Red Hat Software Collections
rh-php70-php
Not affected
Red Hat Software Collections
rh-php71-php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | libwmf-0:0.2.8.4-44.el7 | Fixed | RHSA-2020:3943 |
| Red Hat Enterprise Linux 8 | gd-0:2.2.5-7.el8 | Fixed | RHSA-2020:4659 |
| Red Hat Enterprise Linux 8 | libwmf-0:0.2.9-8.el8_0 | Fixed | RHSA-2019:2722 |
| 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 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
| Red Hat Enterprise Linux 7 | gd | Fix deferred | n/a |
| Red Hat Enterprise Linux 7 | php | Not affected | n/a |
| Red Hat Enterprise Linux 8 | php | Not affected | n/a |
| Red Hat Software Collections | rh-php70-php | Not affected | 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:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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: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
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 (22 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.45% (0.04452) | 91.11th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.42% (0.04416) | 90.06th | v5 (v2026.06.15) |
| Mar 18, 2026 | 2.56% (0.02564) | 85.33th | v4 (v2025.03.14) |
| Nov 21, 2025 | 3.61% (0.03608) | 87.30th | v4 (v2025.03.14) |
| Nov 18, 2025 | 11.15% (0.11154) | 92.76th | v4 (v2025.03.14) |
| Jun 19, 2025 | 2.93% (0.02927) | 85.78th | v4 (v2025.03.14) |
| May 10, 2025 | 6.17% (0.06172) | 90.31th | v4 (v2025.03.14) |
| Mar 30, 2025 | 2.54% (0.02535) | 84.07th | v4 (v2025.03.14) |
| Mar 29, 2025 | 6.71% (0.06706) | 85.03th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.54% (0.02535) | 84.39th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.95% (0.01953) | 89.18th | v3 (v2023.03.01) |
| Jun 20, 2024 | 1.82% (0.01822) | 88.30th | v3 (v2023.03.01) |
| Jan 22, 2024 | 2.11% (0.02106) | 88.00th | v3 (v2023.03.01) |
| May 24, 2023 | 1.32% (0.01321) | 83.97th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.34% (0.01339) | 83.97th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 24.56% (0.24563) | 95.26th | v2 (v2022.01.01) |
| Feb 3, 2022 | 12.48% (0.12481) | 88.86th | v1 |
| Jan 6, 2022 | 12.48% (0.12481) | 88.73th | v1 |
| Sep 1, 2021 | 3.08% (0.03080) | 81.27th | v1 |
| Apr 14, 2021 | 3.08% (0.03080) | 0.00th | v1 |
References (18)
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00025.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00031.html vendor-advisoryx_refsource_SUSE
- https://access.redhat.com/errata/RHSA-2019:2722 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2019-6978 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1671390 Issue Tracking
- https://github.com/libgd/libgd/commit/553702980ae89c83f2d6e254d62cf82e204956d0 x_refsource_MISCPatchThird Party Advisory
- https://github.com/libgd/libgd/issues/492 x_refsource_MISCPatchThird Party Advisory
- https://github.com/php/php-src/commit/089f7c0bc28d399b0420aa6ef058e4c1c120b2ae x_refsource_MISCPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/01/msg00028.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3WRUPZVT2MWFUEMVGTRAGDOBHLNMGK5R/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TEYUUOW75YD3DENIPYMO263E6NL2NFHI/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TTXSLRZI5BCQT3H5KALG3DHUWUMNPDX2/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2019-6978
- https://security.gentoo.org/glsa/201903-18 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://usn.ubuntu.com/3900-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-6978
- https://www.debian.org/security/2019/dsa-4384 vendor-advisoryx_refsource_DEBIANThird Party Advisory
Change history (0)
No recorded changes yet.