CVE-2016-8866
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | imagemagick | Will not fix incomplete fix of CVE-2016-8862 Upstream says it's an issue with address sanitizer throwing the error before malloc() and mmap() return failure. Marking as… | UBUNTU-CVE-2016-8866 | |
| Ubuntu 14.04 | imagemagick | Fix pending | UBUNTU-CVE-2016-8866 | |
| Red Hat Enterprise Linux 7 | ImageMagick | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | ImageMagick-c++ | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | ImageMagick-c++-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | ImageMagick-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | ImageMagick-doc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | ImageMagick-perl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++ | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-doc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-perl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | ImageMagick | Will not fix Will not fix |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://lists.opensuse.org/opensuse-updates/2016-12/msg00141.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2017-01/msg00006.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00085.html (vendor-advisory)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.