# CVE-2016-5842

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2016-12-13 · Modified: 2024-08-06
- Aliases: ALPINE-CVE-2016-5842, UBUNTU-CVE-2016-5842, DEBIAN-CVE-2016-5842
- Record: https://cvemate.com/vulnerability/CVE-2016-5842 · JSON: https://cvemate.com/vulnerability/CVE-2016-5842/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 6.463%, percentile 93.916%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference)

## Affected

- alpine imagemagick (Alpine Linux): ≥ 7.0.0-0, \< 6.9.6.8-r0 \| ≥ 7.0.0-0, \< 6.9.5.3 \| \< 6.9.6.8-r0 \| \< 6.9.5.3
- debian imagemagick (Debian): \< 8:6.9.6.2+dfsg-2
- ubuntu imagemagick (Ubuntu): \< 8:6.7.7.10-6ubuntu3.2 \| \< 8:6.8.9.9-7ubuntu5.2
- imagemagick imagemagick: \< 6.9.4-10 \| ≥ 7.0.0-0, \< 7.0.2-1
- oracle solaris: 10 \| 11.3

## References

- <https://github.com/ImageMagick/ImageMagick/commits/7.0.2-1>
- <http://www.securityfocus.com/bid/91394>
- <http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html>
- <https://security.gentoo.org/glsa/201611-21>
- <http://www.openwall.com/lists/oss-security/2016/06/25/3>
- <https://github.com/ImageMagick/ImageMagick/commit/d8ab7f046587f2e9f734b687ba7e6e10147c294b>
- <http://www.openwall.com/lists/oss-security/2016/06/23/1>
- <https://security.alpinelinux.org/vuln/CVE-2016-5842>
- <https://ubuntu.com/security/CVE-2016-5842>
- <https://ubuntu.com/security/notices/USN-3131-1>
- <https://www.cve.org/CVERecord?id=CVE-2016-5842>
- <https://security-tracker.debian.org/tracker/CVE-2016-5842>

---

Data as of 2026-12-05T04:07:42.316Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
