Skip to content
OpenAdvisories
Unscored CVE-2019-6978 EUVD-2019-16530GHSA-7v6r-3q36-qvvp

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:…

Published Jan 28, 2019 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libgd2 2.2.5-5.1 —
Debian 13 libgd2 2.2.5-5.1 —
Debian 12 libgd2 2.2.5-5.1 —
Debian 9 libgd2 2.2.4-2+deb9u4 DSA-4384-1
Debian 8 libgd2 2.1.0-5+deb8u12 DLA-1651-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libgd2 2.2.5-4ubuntu0.3 USN-3900-1
Ubuntu 16.04 LTS libgd2 2.1.1-4ubuntu0.16.04.11 USN-3900-1
Ubuntu 14.04 LTS libgd2 2.1.0-3ubuntu0.11 USN-3900-1
ReleasePackageFixed inAdvisory
RHEL 8 gd +1 2.2.5-7.el8 RHSA-2020:4659
RHEL 8 libwmf +2 0.2.9-8.el8_0 RHSA-2019:2722
RHEL 7 libwmf +2 0.2.8.4-44.el7 RHSA-2020:3943

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 gd +1 2.2.5-7.el8 ALSA-2020:4659
AlmaLinux 8 libwmf +2 0.2.9-8.el8_0 ALSA-2019:2722

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 gd 2.2.5-7.el8 RLSA-2020:4659
Rocky Linux 8 libwmf 0.2.9-8.el8_0 RLSA-2019:2722
ReleasePackageFixed inAdvisory
SLES 15 SP4 libwmf 0.2.12-150000.4.4.1 SUSE-SU-2022:1516-1
SLES 15 SP3 libwmf 0.2.12-150000.4.4.1 SUSE-SU-2022:1516-1
SLES 15 gd 2.2.5-4.6.1 SUSE-SU-2019:0771-1
SLES 12 SP5 libwmf 0.2.12-243.3.1 SUSE-SU-2022:1560-1
SLES 12 SP4 gd 2.1.0-24.12.1 SUSE-SU-2019:0747-1
SLES 12 SP4 php7 7.0.7-50.63.1 SUSE-SU-2019:0333-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP3 gd 2.1.0-24.12.1 SUSE-SU-2019:0747-1
SLES 12 SP3 php7 7.0.7-50.63.1 SUSE-SU-2019:0333-1
SLES 12 php7 7.0.7-50.63.1 SUSE-SU-2019:0333-1
SLES 11 SP4 php53 5.3.17-112.53.1 SUSE-SU-2019:13961-1
SLES for SAP 12 SP4 gd 2.1.0-24.12.1 SUSE-SU-2019:0747-1
SLES for SAP 12 SP3 gd 2.1.0-24.12.1 SUSE-SU-2019:0747-1
SLES for SAP 11 SP4 php53 5.3.17-112.53.1 SUSE-SU-2019:13961-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gd 2.3.3-1.1 openSUSE-SU-2024:10777-1
openSUSE Leap 15.4 libwmf 0.2.12-150000.4.4.1 SUSE-SU-2022:1516-1
openSUSE Leap 15.3 libwmf 0.2.12-150000.4.4.1 SUSE-SU-2022:1516-1
openSUSE Leap 15.0 gd 2.2.5-lp150.8.1 openSUSE-SU-2019:1148-1
ReleasePackageFixed inAdvisory
Alpine v3.24 gd 2.2.5-r2 —
Alpine v3.23 gd 2.2.5-r2 —
Alpine v3.22 gd 2.2.5-r2 —
Alpine v3.21 gd 2.2.5-r2 —
Alpine v3.20 gd 2.2.5-r2 —
Show 14 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 gd 2.2.5-r2 —
Alpine v3.18 gd 2.2.5-r2 —
Alpine v3.17 gd 2.2.5-r2 —
Alpine v3.16 gd 2.2.5-r2 —
Alpine v3.15 gd 2.2.5-r2 —
Alpine v3.14 gd 2.2.5-r2 —
Alpine v3.13 gd 2.2.5-r2 —
Alpine v3.12 gd 2.2.5-r2 —
Alpine v3.11 gd 2.2.5-r2 —
Alpine v3.10 gd 2.2.5-r2 —
Alpine v3.9 gd 2.2.5-r2 —
Alpine v3.8 gd 2.2.5-r2 —
Alpine v3.7 gd 2.2.5-r2 —
Alpine v3.6 gd 2.2.5-r2 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 libwmf +2 0.2.8.4-41.amzn2.0.3 ALAS2-2019-1174

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 gd +1 2.2.5-7.el8 ELSA-2020-4659
Oracle Linux 8 libwmf +2 0.2.9-8.el8_0 ELSA-2019-2722
Oracle Linux 7 libwmf +2 0.2.8.4-44.el7 ELSA-2020-3943

Advisories 22

References