Live threats

All CVEs / Libgd

CVE-2018-1000222Libgd

High 8.8 No auth needed

Priority
68
CVSS 3.0
8.8
EPSS
4.2%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Aug 20, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-415
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libgd.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libgdlibgd2.2.5
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
debiandebian_linux8.0

Official sources

References

Links published by the sources. Open them with care.