Skip to content
OpenAdvisories
Unscored CVE-2018-1000222 EUVD-2018-1892GHSA-jcj9-h5mg-pr5c

Libgd version 2.2.5 contains a Double Free Vulnerability vulnerability in gdImageBmpPtr Function that can result in Remote Code Execution .…

Published Aug 20, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

Libgd version 2.2.5 contains a Double Free Vulnerability vulnerability in gdImageBmpPtr Function that can result in Remote Code Execution . This attack appear to be exploitable via Specially Crafted Jpeg Image can trigger double free. This vulnerability appears to have been fixed in after commit ac16bdf2d41724b5a65255d4c28fb0ec46bc42f5.

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-4.1 —
Debian 13 libgd2 2.2.5-4.1 —
Debian 12 libgd2 2.2.5-4.1 —
Debian 8 libgd2 2.1.0-5+deb8u12 DLA-1651-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libgd2 2.2.5-4ubuntu0.2 USN-3755-1
Ubuntu 16.04 LTS libgd2 2.1.1-4ubuntu0.16.04.10 USN-3755-1
Ubuntu 14.04 LTS libgd2 2.1.0-3ubuntu0.10 USN-3755-1
ReleasePackageFixed inAdvisory
SLES 15 SP1 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLES 15 gd 2.2.5-4.3.1 SUSE-SU-2018:2888-1
SLES 15 php7 7.2.5-4.9.1 SUSE-SU-2022:4067-1, SUSE-SU-2018:2840-1
SLES 12 SP3 gd 2.1.0-24.9.1 SUSE-SU-2018:2837-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLES for SAP 15 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLES for SAP 12 SP3 gd 2.1.0-24.9.1 SUSE-SU-2018:2837-1
SLE HPC 15 SP1 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLE HPC 15 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SUSE Enterprise Storage 6 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gd 2.3.3-1.1 openSUSE-SU-2024:10777-1
openSUSE Tumbleweed php7 7.4.24-1.1 openSUSE-SU-2024:11167-1
openSUSE Tumbleweed php8 8.0.11-1.1 openSUSE-SU-2024:11169-1
openSUSE Leap 15.4 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
ReleasePackageFixed inAdvisory
Alpine v3.24 gd 2.2.5-r1 —
Alpine v3.23 gd 2.2.5-r1 —
Alpine v3.22 gd 2.2.5-r1 —
Alpine v3.21 gd 2.2.5-r1 —
Alpine v3.20 gd 2.2.5-r1 —
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 gd 2.2.5-r1 —
Alpine v3.18 gd 2.2.5-r1 —
Alpine v3.17 gd 2.2.5-r1 —
Alpine v3.16 gd 2.2.5-r1 —
Alpine v3.15 gd 2.2.5-r1 —
Alpine v3.14 gd 2.2.5-r1 —
Alpine v3.13 gd 2.2.5-r1 —
Alpine v3.12 gd 2.2.5-r1 —
Alpine v3.11 gd 2.2.5-r1 —
Alpine v3.10 gd 2.2.5-r1 —
Alpine v3.9 gd 2.2.5-r1 —
Alpine v3.8 gd 2.2.5-r1 —
Alpine v3.7 gd 2.2.5-r1 —
Alpine v3.6 gd 2.2.5-r1 —
Alpine v3.5 gd 2.2.5-r1 —

Advisories 9

References