CVE-2018-1000222: Canonical Ubuntu Linux

High severity, CVSS 8.8. EPSS: 4.2% probability of exploitation activity in the next 30 days.

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.

What to do

No fixed version is stated in NVD's or the CNA's structured data. Check the vendor's advisory among the references.

Affected products

Published 2018-08-20. Last modified 2026-06-17.