Vulnerabilities · 2016 · Imagemagick
CVE-2016-5842
Imagemagick vulnerability
MagickCore/property.c in ImageMagick before 7.0.2-1 allows remote attackers to obtain sensitive memory information via vectors involving the q variable, which triggers an out-of-bounds read.
Affected products
Imagemagick, Solaris. 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
- www.openwall.com/lists/oss-security/2016/06/23/1 · Patch
- github.com/ImageMagick/ImageMagick/commit/d8ab7f046587f2e9f734b687ba7e6e10147c294b · Patch
- github.com/ImageMagick/ImageMagick/commits/7.0.2-1 · Patch
- www.openwall.com/lists/oss-security/2016/06/25/3 · Exploit
- www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html · Third Party Advisory
- www.securityfocus.com/bid/91394 · Exploit
- security.gentoo.org/glsa/201611-21 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2016-5842
- cve.org/CVERecord?id=CVE-2016-5842
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.