Vulnerabilities · 2018 · Imagemagick
CVE-2018-16643
Imagemagick vulnerability
The functions ReadDCMImage in coders/dcm.c, ReadPWPImage in coders/pwp.c, ReadCALSImage in coders/cals.c, and ReadPICTImage in coders/pict.c in ImageMagick 7.0.8-4 do not check the return value of the fputc function, 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/6b6bff054d569a77973f2140c0e86366e6168a6c · Patch
- github.com/ImageMagick/ImageMagick/issues/1199 · Patch
- lists.debian.org/debian-lts-announce/2018/10/msg00002.html · Third Party Advisory
- usn.ubuntu.com/3785-1/ · Third Party Advisory
- lists.debian.org/debian-lts-announce/2020/09/msg00007.html
- nvd.nist.gov/vuln/detail/CVE-2018-16643
- cve.org/CVERecord?id=CVE-2018-16643
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.