CVE-2019-6978
publishedgd: Double free in the gdImage*Ptr in gd_gif_out.c, gd_jpeg.c, and gd_wbmp.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2019-1174 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | gd | Advisory build | 2.2.5-7.el8 | ALSA-2020:4659 |
| Alpine Linux | edge | gd | Fixed | 2.2.5-r2 | Package fix record |
| Debian | jessie | libgd2 | Advisory build | 2.1.0-5+deb8u12 | DLA-1651-1 |
| Oracle Linux | 7 | libwmfaarch64 | Advisory build | 0:0.2.8.4-44.el7 | ELSA-2020-3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmfi686 | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| AlmaLinux | 8 | gd-devel | Advisory build | 2.2.5-7.el8 | ALSA-2020:4659 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | libwmf | Advisory build | 0.2.9-8.el8_0 | ALSA-2019:2722 |
| AlmaLinux | 8 | libwmf-devel | Advisory build | 0.2.9-8.el8_0 | ALSA-2019:2722 |
| AlmaLinux | 8 | libwmf-lite | Advisory build | 0.2.9-8.el8_0 | ALSA-2019:2722 |
| Alpine Linux | v3.10 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Alpine Linux | v3.11 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Alpine Linux | v3.12 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Alpine Linux | v3.13 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Alpine Linux | v3.14 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Alpine Linux | v3.15 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Alpine Linux | v3.16 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Alpine Linux | v3.17 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Alpine Linux | v3.18 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Alpine Linux | v3.19 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Alpine Linux | v3.20 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Alpine Linux | v3.21 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Alpine Linux | v3.22 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Alpine Linux | v3.23 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Alpine Linux | v3.24 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Alpine Linux | v3.6 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Alpine Linux | v3.7 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Alpine Linux | v3.8 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Alpine Linux | v3.9 | gd | Fixed | 2.2.5-r2 | Package fix record |
| Debian | stretch | libgd2 | Advisory build | 2.2.4-2+deb9u4 | DSA-4384-1 |
| Oracle Linux | 7 | libwmfx86_64 | Advisory build | 0:0.2.8.4-44.el7 | ELSA-2020-3943 |
| Oracle Linux | 7 | libwmf-develaarch64 | Advisory build | 0:0.2.8.4-44.el7 | ELSA-2020-3943 |
| Oracle Linux | 7 | libwmf-develx86_64 | Advisory build | 0:0.2.8.4-44.el7 | ELSA-2020-3943 |
| Oracle Linux | 7 | libwmf-liteaarch64 | Advisory build | 0:0.2.8.4-44.el7 | ELSA-2020-3943 |
| Oracle Linux | 7 | libwmf-litex86_64 | Advisory build | 0:0.2.8.4-44.el7 | ELSA-2020-3943 |
| Oracle Linux | 8 | gdaarch64 | Advisory build | 0:2.2.5-7.el8 | ELSA-2020-4659 |
| Oracle Linux | 8 | gdx86_64 | Advisory build | 0:2.2.5-7.el8 | ELSA-2020-4659 |
| Oracle Linux | 8 | gd-develaarch64 | Advisory build | 0:2.2.5-7.el8 | ELSA-2020-4659 |
| Oracle Linux | 8 | gd-develx86_64 | Advisory build | 0:2.2.5-7.el8 | ELSA-2020-4659 |
| Oracle Linux | 8 | libwmfaarch64 | Advisory build | 0:0.2.9-8.el8_0 | ELSA-2019-2722 |
| Oracle Linux | 8 | libwmfx86_64 | Advisory build | 0:0.2.9-8.el8_0 | ELSA-2019-2722 |
| Oracle Linux | 8 | libwmf-develaarch64 | Advisory build | 0:0.2.9-8.el8_0 | ELSA-2019-2722 |
| Oracle Linux | 8 | libwmf-develx86_64 | Advisory build | 0:0.2.9-8.el8_0 | ELSA-2019-2722 |
| Oracle Linux | 8 | libwmf-liteaarch64 | Advisory build | 0:0.2.9-8.el8_0 | ELSA-2019-2722 |
| Oracle Linux | 8 | libwmf-litex86_64 | Advisory build | 0:0.2.9-8.el8_0 | ELSA-2019-2722 |
| Red Hat Enterprise Linux | RHEL-7 | libwmfppc | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmfppc64 | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmfppc64le | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmfs390 | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmfs390x | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmfsrc | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmfx86_64 | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-debuginfoi686 | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-debuginfoppc | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-debuginfoppc64 | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-debuginfoppc64le | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-debuginfos390 | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-debuginfos390x | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-debuginfox86_64 | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-develi686 | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-develppc | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-develppc64 | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-develppc64le | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-devels390 | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-devels390x | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-develx86_64 | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-litei686 | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-liteppc | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-liteppc64 | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-liteppc64le | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-lites390 | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-lites390x | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-7 | libwmf-litex86_64 | Advisory build | 0.2.8.4-44.el7 | RHSA-2020:3943 |
| Red Hat Enterprise Linux | RHEL-8 | gdaarch64 | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gdi686 | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gdppc64le | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gds390x | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gdsrc | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gdx86_64 | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-debuginfoaarch64 | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-debuginfoi686 | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-debuginfoppc64le | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-debuginfos390x | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-debuginfox86_64 | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-debugsourceaarch64 | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-debugsourcei686 | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-debugsourceppc64le | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-debugsources390x | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-debugsourcex86_64 | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-develaarch64 | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-develi686 | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-develppc64le | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-devels390x | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-develx86_64 | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-progs-debuginfoaarch64 | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-progs-debuginfoi686 | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-progs-debuginfoppc64le | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-progs-debuginfos390x | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | gd-progs-debuginfox86_64 | Advisory build | 2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat Enterprise Linux | RHEL-8 | libwmfaarch64 | Advisory build | 0.2.9-8.el8_0 | RHSA-2019:2722 |
| Red Hat Enterprise Linux | RHEL-8 | libwmfi686 | Advisory build | 0.2.9-8.el8_0 | RHSA-2019:2722 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
14- openSUSE-SU-2019:1148 http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00025.html
- openSUSE-SU-2019:1140 http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00031.html
- RHSA-2019:2722 https://access.redhat.com/errata/RHSA-2019:2722
- https://github.com/libgd/libgd/commit/553702980ae89c83f2d6e254d62cf82e204956d0
- https://github.com/libgd/libgd/issues/492
- https://github.com/php/php-src/commit/089f7c0bc28d399b0420aa6ef058e4c1c120b2ae
- [debian-lts-announce] 20190130 [SECURITY] [DLA 1651-1] libgd2 security update https://lists.debian.org/debian-lts-announce/2019/01/msg00028.html
- FEDORA-2020-e795f92d79 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/
- FEDORA-2019-d7f8995451 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3WRUPZVT2MWFUEMVGTRAGDOBHLNMGK5R/
- FEDORA-2019-ab7d22a466 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TEYUUOW75YD3DENIPYMO263E6NL2NFHI/
- FEDORA-2019-7a06c0e6b4 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TTXSLRZI5BCQT3H5KALG3DHUWUMNPDX2/
- GLSA-201903-18 https://security.gentoo.org/glsa/201903-18
- USN-3900-1 https://usn.ubuntu.com/3900-1/
- DSA-4384 https://www.debian.org/security/2019/dsa-4384
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3631bdc71f3259bda3552fb9298f6837645ad5fd3ba86ac3320ab4c9d7c786ed
- Ingested
- 23 Sep 2026, 07:47:31 UTC
- Source record
- Official CVE record