PT-2018-2553

CVE-2018-1000222

·

Published

2018-07-14

·

Updated

2026-10-31

Description by

CVSS 3.1
8.8
High
MetricsAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Libgd version 2.2.5
Description The issue is related to a Double Free Vulnerability in the gdImageBmpPtr function, which can result in Remote Code Execution. This can be triggered by a specially crafted JPEG image, causing a double free. The vulnerability appears to have been fixed after a specific commit.
Recommendations For Libgd version 2.2.5, update to a version that includes the fix after commit ac16bdf2d41724b5a65255d4c28fb0ec46bc42f5 to resolve the issue. As a temporary workaround, consider restricting the use of the gdImageBmpPtr function until a patch is available. Avoid using specially crafted JPEG images that can trigger the double free vulnerability.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
CLEANSTART-2024-AQ77039
DLA-1651-1
MGASA-2018-0367
OPENSUSE-SU-2018_2849-1
OPENSUSE-SU-2018_2851-1
OPENSUSE-SU-2018_2941-1
OPENSUSE-SU-2022_4067-1
OPENSUSE-SU-2024:10777-1
OPENSUSE-SU-2024:11167-1
OPENSUSE-SU-2024:11169-1
SUSE-SU-2018:2837-1
SUSE-SU-2018_2837-1
SUSE-SU-2018:2840-1
SUSE-SU-2018_2840-1
SUSE-SU-2018:2888-1
SUSE-SU-2018_2888-1
SUSE-SU-2022:4067-1
USN-3755-1
Found an issue in the description? Have something to add? Feel free to write us 👾