Every CVE Search/ Get API key

CVE-2016-8866

The AcquireMagickMemory function in MagickCore/memory.c in ImageMagick 7.0.3.3 before 7.0.3.8...

8.8 High

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

4.80%Up 3.4 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 8.8

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.

Record
CVE-2016-8866
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2016-8866
Updated
2026-11-02
EUVDEUVD-2016-9691 No score

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.

Record
EUVD-2016-9691
Updated
2026-11-03
GitHub AdvisoriesGHSA-v56x-jxjp-g3fg 8.8

The AcquireMagickMemory function in MagickCore/memory.c in ImageMagick 7.0.3.3 before 7.0.3.8...

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.

Record
GHSA-v56x-jxjp-g3fg
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-119
Updated
2026-11-02
OSV 8.8

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.

Record
CVE-2016-8866
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2016-8866 8.8

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.

Record
UBUNTU-CVE-2016-8866
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVMGASA-2018-0229 No score

Updated imagemagick packages fix security vulnerabilities

The imagemagick package has been updated to version 6.9.9.41 which fixes several unspecified security vulnerabilities. This update fixes several vulnerabilities in imagemagick, including: Various memory handling problems and cases of missing or incomplete input sanitising may result in denial of service, memory disclosure or the execution of arbitrary code if malformed GIF, TTF, SVG, TIFF, PCX, JPG or SFW files are processed.

Several packages have been rebuilt for the updated ImageMagick.

Record
MGASA-2018-0229
Updated
2026-11-02
OSVSUSE-SU-2016:3256-1 No score

Security update for ImageMagick

This update for ImageMagick fixes the following issues:

  • CVE-2016-9556: Possible Heap-overflow found by fuzzing [bsc#1011130]
  • CVE-2016-9559: Possible Null pointer access found by fuzzing [bsc#1011136]
  • CVE-2016-8707: Possible code execution in the tiff deflate convert code [bsc#1014159]
  • CVE-2016-9773: Possible Heap overflow in IsPixelGray [bsc#1013376]
  • CVE-2016-8866: Possible memory allocation failure in AcquireMagickMemory [bsc#1009318]
Record
SUSE-SU-2016:3256-1
Updated
2026-11-02
OSVSUSE-SU-2016:3258-1 No score

Security update for ImageMagick

This update for ImageMagick fixes the following issues:

  • CVE-2016-9556 Possible Heap-overflow found by fuzzing [bsc#1011130]
  • CVE-2016-9559 Possible Null pointer access found by fuzzing [bsc#1011136]
  • CVE-2016-8707 Possible code execution in Tiff conver utility [bsc#1014159]
  • CVE-2016-8866 Memory allocation failure in AcquireMagickMemory could lead to Heap overflow [bsc#1009318]
  • CVE-2016-9559 Possible Null pointer access found by fuzzing [bsc#1011136]
Record
SUSE-SU-2016:3258-1
Updated
2026-11-02
OSVSUSE-SU-2017:0305-1 No score

Security update for GraphicsMagick

This update for GraphicsMagick fixes the following issues:

  • CVE-2016-9556 Possible Heap-overflow found by fuzzing [bsc#1011130]
  • CVE-2016-9559 Possible Null pointer access found by fuzzing [bsc#1011136]
  • CVE-2016-8866 Possible memory allocation failure in AcquireMagickMemory [bsc#1009318]
  • CVE-2016-9830: Memory allocation failure in MagickRealloc (memory.c) (bsc#1013640).
Record
SUSE-SU-2017:0305-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
imagemagick
Debian:7
From an advisory covering 19 CVEs
before 8:6.7.7.10-5+deb7u10, plus listed versions
8:6.7.7.10-58:6.7.7.10-5+deb7u28:6.7.7.10-5+deb7u38:6.7.7.10-5+deb7u48:6.7.7.10-5+deb7u5
Show 4 moreShow less
8:6.7.7.10-5+deb7u68:6.7.7.10-5+deb7u78:6.7.7.10-5+deb7u88:6.7.7.10-5+deb7u9
8:6.7.7.10-5+deb7u10
converseen
Mageia:6
From an advisory covering 104 CVEs
before 0.9.6.2-1.3.mga6
0.9.6.2-1.3.mga6
cuneiform-linux
Mageia:6
From an advisory covering 104 CVEs
before 1.1.0-9.2.mga6
1.1.0-9.2.mga6
dvdauthor
Mageia:6
From an advisory covering 104 CVEs
before 0.7.2-2.2.mga6
0.7.2-2.2.mga6
emacs
Mageia:6
From an advisory covering 104 CVEs
before 24.5-8.3.mga6
24.5-8.3.mga6
imagemagick
Mageia:6
From an advisory covering 104 CVEs
before 6.9.9.41-1.mga6
6.9.9.41-1.mga6
inkscape
Mageia:6
From an advisory covering 104 CVEs
before 0.92.1-2.2.mga6
0.92.1-2.2.mga6
k3d
Mageia:6
From an advisory covering 104 CVEs
before 0.8.0.5-5.2.mga6
0.8.0.5-5.2.mga6
kxstitch
Mageia:6
From an advisory covering 104 CVEs
before 2.0.0-2.2.mga6
2.0.0-2.2.mga6
libopenshot
Mageia:6
From an advisory covering 104 CVEs
before 0.1.8-1.2.mga6
0.1.8-1.2.mga6
Show 29 moreShow less
Affected packages
PackageAffectedFixed
ocaml-glmlite
Mageia:6
From an advisory covering 104 CVEs
before 0.03.51-17.2.mga6
0.03.51-17.2.mga6
perl-Image-SubImageFind
Mageia:6
From an advisory covering 104 CVEs
before 0.30.0-6.2.mga6
0.30.0-6.2.mga6
pfstools
Mageia:6
From an advisory covering 104 CVEs
before 2.0.6-3.2.mga6
2.0.6-3.2.mga6
php-imagick
Mageia:6
From an advisory covering 104 CVEs
before 3.4.1-6.2.mga6
3.4.1-6.2.mga6
php-magickwand
Mageia:6
From an advisory covering 104 CVEs
before 1.0.9.2-10.2.mga6
1.0.9.2-10.2.mga6
psiconv
Mageia:6
From an advisory covering 104 CVEs
before 0.9.8-26.2.mga6
0.9.8-26.2.mga6
pythonmagick
Mageia:6
From an advisory covering 104 CVEs
before 0.9.12-7.2.mga6
0.9.12-7.2.mga6
ruby-rmagick
Mageia:6
From an advisory covering 104 CVEs
before 2.15.4-12.2.mga6
2.15.4-12.2.mga6
synfig
Mageia:6
From an advisory covering 104 CVEs
before 1.2.1-2.2.mga6
1.2.1-2.2.mga6
vdr-plugin-skinelchi
Mageia:6
From an advisory covering 104 CVEs
before 0.2.8-8.2.mga6
0.2.8-8.2.mga6
vdr-plugin-skinenigmang
Mageia:6
From an advisory covering 104 CVEs
before 0.1.2-10.2.mga6
0.1.2-10.2.mga6
ImageMagick
SUSE:Linux Enterprise Software Development Kit 11 SP4
From an advisory covering 6 CVEs
before 6.4.3.6-7.60.1
6.4.3.6-7.60.1
ImageMagick
SUSE:Linux Enterprise Server 11 SP4
From an advisory covering 6 CVEs
before 6.4.3.6-7.60.1
6.4.3.6-7.60.1
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
From an advisory covering 6 CVEs
before 6.4.3.6-7.60.1
6.4.3.6-7.60.1
ImageMagick
SUSE:Linux Enterprise Desktop 12 SP1
From an advisory covering 6 CVEs
before 6.8.8.1-54.1
6.8.8.1-54.1
ImageMagick
SUSE:Linux Enterprise Desktop 12 SP2
From an advisory covering 6 CVEs
before 6.8.8.1-54.1
6.8.8.1-54.1
ImageMagick
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
From an advisory covering 6 CVEs
before 6.8.8.1-54.1
6.8.8.1-54.1
ImageMagick
SUSE:Linux Enterprise Software Development Kit 12 SP1
From an advisory covering 6 CVEs
before 6.8.8.1-54.1
6.8.8.1-54.1
ImageMagick
SUSE:Linux Enterprise Software Development Kit 12 SP2
From an advisory covering 6 CVEs
before 6.8.8.1-54.1
6.8.8.1-54.1
ImageMagick
SUSE:Linux Enterprise Server 12 SP1
From an advisory covering 6 CVEs
before 6.8.8.1-54.1
6.8.8.1-54.1
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
From an advisory covering 6 CVEs
before 6.8.8.1-54.1
6.8.8.1-54.1
ImageMagick
SUSE:Linux Enterprise Server 12 SP2
From an advisory covering 6 CVEs
before 6.8.8.1-54.1
6.8.8.1-54.1
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
From an advisory covering 6 CVEs
before 6.8.8.1-54.1
6.8.8.1-54.1
ImageMagick
SUSE:Linux Enterprise Workstation Extension 12 SP1
From an advisory covering 6 CVEs
before 6.8.8.1-54.1
6.8.8.1-54.1
ImageMagick
SUSE:Linux Enterprise Workstation Extension 12 SP2
From an advisory covering 6 CVEs
before 6.8.8.1-54.1
6.8.8.1-54.1
GraphicsMagick
SUSE:Linux Enterprise Software Development Kit 11 SP4
From an advisory covering 4 CVEs
before 1.2.5-4.59.1
1.2.5-4.59.1
GraphicsMagick
SUSE:Studio Onsite 1.3
From an advisory covering 4 CVEs
before 1.2.5-4.59.1
1.2.5-4.59.1
imagemagick
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
8:6.7.7.10-5ubuntu38:6.7.7.10-5ubuntu48:6.7.7.10-6ubuntu18:6.7.7.10-6ubuntu28:6.7.7.10-6ubuntu3
Show 39 moreShow less
8:6.7.7.10-6ubuntu3.18:6.7.7.10-6ubuntu3.28:6.7.7.10-6ubuntu3.38:6.7.7.10-6ubuntu3.48:6.7.7.10-6ubuntu3.58:6.7.7.10-6ubuntu3.68:6.7.7.10-6ubuntu3.78:6.7.7.10-6ubuntu3.88:6.7.7.10-6ubuntu3.98:6.7.7.10-6ubuntu3.118:6.7.7.10-6ubuntu3.128:6.7.7.10-6ubuntu3.138:6.7.7.10-6ubuntu3.13+esm18:6.7.7.10-6ubuntu3.13+esm28:6.7.7.10-6ubuntu3.13+esm38:6.7.7.10-6ubuntu3.13+esm48:6.7.7.10-6ubuntu3.13+esm58:6.7.7.10-6ubuntu3.13+esm68:6.7.7.10-6ubuntu3.13+esm78:6.7.7.10-6ubuntu3.13+esm88:6.7.7.10-6ubuntu3.13+esm98:6.7.7.10-6ubuntu3.13+esm108:6.7.7.10-6ubuntu3.13+esm118:6.7.7.10-6ubuntu3.13+esm128:6.7.7.10-6ubuntu3.13+esm138:6.7.7.10-6ubuntu3.13+esm148:6.7.7.10-6ubuntu3.13+esm158:6.7.7.10-6ubuntu3.13+esm168:6.7.7.10-6ubuntu3.13+esm178:6.7.7.10-6ubuntu3.13+esm188:6.7.7.10-6ubuntu3.13+esm198:6.7.7.10-6ubuntu3.13+esm208:6.7.7.10-6ubuntu3.13+esm218:6.7.7.10-6ubuntu3.13+esm228:6.7.7.10-6ubuntu3.13+esm238:6.7.7.10-6ubuntu3.13+esm248:6.7.7.10-6ubuntu3.13+esm258:6.7.7.10-6ubuntu3.13+esm268:6.7.7.10-6ubuntu3.13+esm27
None known
imagemagick
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
8:6.8.9.9-5ubuntu28:6.8.9.9-68:6.8.9.9-6build18:6.8.9.9-78:6.8.9.9-7ubuntu1
Show 45 moreShow less
8:6.8.9.9-7ubuntu28:6.8.9.9-7ubuntu38:6.8.9.9-7ubuntu48:6.8.9.9-7ubuntu58:6.8.9.9-7ubuntu5.18:6.8.9.9-7ubuntu5.28:6.8.9.9-7ubuntu5.38:6.8.9.9-7ubuntu5.48:6.8.9.9-7ubuntu5.58:6.8.9.9-7ubuntu5.68:6.8.9.9-7ubuntu5.78:6.8.9.9-7ubuntu5.88:6.8.9.9-7ubuntu5.98:6.8.9.9-7ubuntu5.118:6.8.9.9-7ubuntu5.128:6.8.9.9-7ubuntu5.138:6.8.9.9-7ubuntu5.148:6.8.9.9-7ubuntu5.158:6.8.9.9-7ubuntu5.168:6.8.9.9-7ubuntu5.16+esm18:6.8.9.9-7ubuntu5.16+esm28:6.8.9.9-7ubuntu5.16+esm38:6.8.9.9-7ubuntu5.16+esm48:6.8.9.9-7ubuntu5.16+esm58:6.8.9.9-7ubuntu5.16+esm68:6.8.9.9-7ubuntu5.16+esm78:6.8.9.9-7ubuntu5.16+esm88:6.8.9.9-7ubuntu5.16+esm98:6.8.9.9-7ubuntu5.16+esm108:6.8.9.9-7ubuntu5.16+esm118:6.8.9.9-7ubuntu5.16+esm128:6.8.9.9-7ubuntu5.16+esm138:6.8.9.9-7ubuntu5.16+esm148:6.8.9.9-7ubuntu5.16+esm158:6.8.9.9-7ubuntu5.16+esm168:6.8.9.9-7ubuntu5.16+esm178:6.8.9.9-7ubuntu5.16+esm188:6.8.9.9-7ubuntu5.16+esm198:6.8.9.9-7ubuntu5.16+esm208:6.8.9.9-7ubuntu5.16+esm218:6.8.9.9-7ubuntu5.16+esm228:6.8.9.9-7ubuntu5.16+esm238:6.8.9.9-7ubuntu5.16+esm248:6.8.9.9-7ubuntu5.16+esm258:6.8.9.9-7ubuntu5.16+esm26
None known

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2016-8866 is a high vulnerability (CVSS 8.8) in Imagemagick, published December 21, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.80%, the 92nd percentile. No source names a fixed version.

References

Show 28 moreShow less
MoveEnter Open