What’s Vulnerable › Vulnerabilities
CVE-2016-5842
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 6.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2016-12-13 · updated 2026-06-17
- Weakness: CWE-125
Description
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: before 6.9.4-10; from 7.0.0-0 before 7.0.2-1 — fixed in 6.9.4-10, 7.0.2-1
- Oracle Corporation Solaris Operating System: 10, 11.3
How to fix
Upgrade to a fixed version: ImageMagick 6.9.4-10, 7.0.2-1. Check the vendor advisory for mitigations.
References
- http://www.openwall.com/lists/oss-security/2016/06/23/1
- http://www.openwall.com/lists/oss-security/2016/06/25/3
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- http://www.securityfocus.com/bid/91394
- https://github.com/ImageMagick/ImageMagick/commit/d8ab7f046587f2e9f734b687ba7e6e10147c294b
- https://github.com/ImageMagick/ImageMagick/commits/7.0.2-1
- https://security.gentoo.org/glsa/201611-21
- http://www.openwall.com/lists/oss-security/2016/06/23/1
- http://www.openwall.com/lists/oss-security/2016/06/25/3
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- http://www.securityfocus.com/bid/91394
- https://github.com/ImageMagick/ImageMagick/commit/d8ab7f046587f2e9f734b687ba7e6e10147c294b
Get alerted when CVE-2016-5842 or the next vulnerability affects your stack