CVE-2016-8862 json
The AcquireMagickMemory function in MagickCore/memory.c in ImageMagick before 7.0.3.3 allows remote attackers to have unspecified impact vi…
published 2017-02-15 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-9687
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.2%
- EPSS 4.2% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
The AcquireMagickMemory function in MagickCore/memory.c in ImageMagick before 7.0.3.3 allows remote attackers to have unspecified impact via a crafted image, which triggers a memory allocation failure.
Patch / fix
- imagemagick imagemagick 6.9.4-0, 7.0.3-3
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.6.6+dfsg-1
debian advisories DEBIAN-CVE-2016-8862
- imagemagick Ubuntu 14.04 LTS 8:6.7.7.10-6ubuntu3.3
- imagemagick Ubuntu 16.04 LTS 8:6.8.9.9-7ubuntu5.3
ubuntu advisories UBUNTU-CVE-2016-8862
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ImageMagick SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 6.4.3.6-7.54.1
- ImageMagick SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +8 more 6.8.8.1-47.1
- GraphicsMagick Studio Onsite 1.3, SLE Software Development Kit 11 SP4 1.2.5-4.52.1
suse advisories SUSE-SU-2016:2964-1SUSE-SU-2016:2952-1SUSE-SU-2016:2894-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-8862 updated cvss 3.3
ImageMagick: Memory allocation failure in AcquireMagickMemory
-
Red Hat Enterprise Linux 5 ImageMagick Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat Enterprise Linux 7 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat OpenShift Enterprise 2 ImageMagickaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.20% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
blogs.gentoo.org
/ago/2016/10/17/imagemagick-memory-allocation-failure-in-acquiremagickmemory-memory-c/
patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1387135
issue-tracking, patch, third-party-advisory
-
github.com
/ImageMagick/ImageMagick/issues/271
patch, third-party-advisory, vdb-entry
-
openwall.com
/lists/oss-security/2016/10/20/2
mailing-list, patch, third-party-advisory
-
debian.org
/security/2016/dsa-3726
vendor-advisory, third-party-advisory
-
openwall.com
/lists/oss-security/2016/10/20/3
mailing-list, third-party-advisory
-
securityfocus.com
/bid/93794
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2016-8862
- NVD CVE-2016-8862
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.