Vulnerabilities · 2018 · Imagemagick
CVE-2018-16323
Imagemagick vulnerability
ReadXBMImage in coders/xbm.c in ImageMagick before 7.0.8-9 leaves data uninitialized when processing an XBM file that has a negative pixel value. If the affected code is used as a library loaded into a process that includes sensitive information, that information sometimes can be leaked via the image data.
Affected products
Imagemagick, Ubuntu 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/216d117f05bff87b9dc4db55a1b1fadb38bcb786 · Patch
- usn.ubuntu.com/3785-1/ · Third Party Advisory
- usn.ubuntu.com/4034-1/ · Third Party Advisory
- www.exploit-db.com/exploits/45890/ · Exploit
- nvd.nist.gov/vuln/detail/CVE-2018-16323
- cve.org/CVERecord?id=CVE-2018-16323
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.