Vulnerabilities · 2018 · Imagemagick
CVE-2018-16645
Imagemagick vulnerability
There is an excessive memory allocation issue in the functions ReadBMPImage of coders/bmp.c and ReadDIBImage of coders/dib.c in ImageMagick 7.0.8-11, which allows remote attackers to cause a denial of service via a crafted image file.
Affected products
Imagemagick, Ubuntu Linux, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Imagemagick runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ImageMagick/ImageMagick/commit/ecb31dbad39ccdc65868d5d2a37f0f0521250832 · Patch
- github.com/ImageMagick/ImageMagick/issues/1268 · Patch
- lists.debian.org/debian-lts-announce/2018/10/msg00002.html · Third Party Advisory
- usn.ubuntu.com/3785-1/ · Third Party Advisory
- www.debian.org/security/2018/dsa-4316 · Third Party Advisory
- usn.ubuntu.com/4034-1/
- nvd.nist.gov/vuln/detail/CVE-2018-16645
- cve.org/CVERecord?id=CVE-2018-16645
More vulnerabilities in Imagemagick products
CVE-2026-23876CVE-2026-23874CVE-2026-22770CVE-2025-69204CVE-2025-68950CVE-2025-68618CVE-2025-68469CVE-2025-66628All 670
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.