Vulnerabilities · 2018 · Imagemagick
CVE-2018-16749
Imagemagick vulnerability
In ImageMagick 7.0.7-29 and earlier, a missing NULL check in ReadOneJNGImage in coders/png.c allows an attacker to cause a denial of service (WriteBlob assertion failure and application exit) via a crafted 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/issues/1119 · Exploit
- github.com/ImageMagick/ImageMagick6/commit/1007b98f8795ad4bea6bc5f68a32d83e982fdae4 · Patch
- lists.debian.org/debian-lts-announce/2018/10/msg00002.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2020/09/msg00007.html · Third Party Advisory
- usn.ubuntu.com/3785-1/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-16749
- cve.org/CVERecord?id=CVE-2018-16749
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.