# CVE-2016-8866

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

## Description

```text
The AcquireMagickMemory function in MagickCore/memory.c in ImageMagick 7.0.3.3 before 7.0.3.8 allows remote attackers to have unspecified impact via a crafted image, which triggers a memory allocation failure.  NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-8862.
```

## Signals

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

## Affected

- ubuntu imagemagick (Ubuntu): All versions (No fix recorded)
- imagemagick imagemagick: \< 6.9.6-6 \| ≥ 7.0.0-0, ≤ 7.0.3-7
- opensuse leap: 42.1 \| 42.2
- opensuse opensuse: 13.2

## References

- <http://www.openwall.com/lists/oss-security/2016/10/21/5>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1388816>
- <http://lists.opensuse.org/opensuse-updates/2016-12/msg00141.html>
- <http://lists.opensuse.org/opensuse-security-announce/2017-01/msg00006.html>
- <http://www.openwall.com/lists/oss-security/2016/10/20/3>
- <https://blogs.gentoo.org/ago/2016/10/20/imagemagick-memory-allocation-failure-in-acquiremagickmemory-memory-c-incomplete-fix-for-cve-2016-8862/>
- <https://github.com/ImageMagick/ImageMagick/issues/271>
- <http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00085.html>
- <https://ubuntu.com/security/CVE-2016-8866>
- <https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=30908#p140255>
- <https://www.cve.org/CVERecord?id=CVE-2016-8866>

---

Data as of 2026-12-05T04:17:40.117Z. 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
