PT-2018-2553 · Gd+2 · Libgd+2
Rooney
+1
·
Published
2018-07-14
·
Updated
2024-06-15
·
CVE-2018-1000222
CVSS v3.1
8.8
High
| Vector | AV: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.Exploit
Fix
RCE
Double Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Libgd
Suse
Ubuntu