CVE-2016-8866Improper Restriction of Operations within the Bounds of a Memory Buffer in Imagemagick

Severity
8.8HIGHNVD
NVD5.5
EPSS
0.5%
top 35.05%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 15
Latest updateMay 17

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9

Affected Packages4 packages

NVDimagemagick/imagemagick7.0.0-07.0.3-7+2
NVDopensuse/leap42.1, 42.2+1

Patches

🔴Vulnerability Details

6
GHSA
GHSA-5rcv-qr5q-7p43: The ReadPCXImage function in coders/pcx2022-05-17
GHSA
GHSA-v56x-jxjp-g3fg: The AcquireMagickMemory function in MagickCore/memory2022-05-13
CVEList
CVE-2017-7275: The ReadPCXImage function in coders/pcx2017-03-27
OSV
CVE-2017-7275: The ReadPCXImage function in coders/pcx2017-03-27
OSV
CVE-2016-8866: The AcquireMagickMemory function in MagickCore/memory2017-02-15

📋Vendor Advisories

4
Red Hat
ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8866)2017-03-27
Debian
CVE-2017-7275: imagemagick - The ReadPCXImage function in coders/pcx.c in ImageMagick 7.0.4.9 allows remote a...2017
Red Hat
ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8862)2016-10-20
Debian
CVE-2016-8866: imagemagick - The AcquireMagickMemory function in MagickCore/memory.c in ImageMagick 7.0.3.3 b...2016

💬Community

4
Bugzilla
CVE-2017-7275 ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8866)2017-03-31
Bugzilla
CVE-2017-7275 ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8866) [fedora-all]2017-03-31
Bugzilla
CVE-2016-8866 ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8862)2016-10-26
Bugzilla
CVE-2016-7799 CVE-2016-7906 CVE-2016-8677 CVE-2016-8678 CVE-2016-8862 CVE-2016-8866 CVE-2016-9298 ImageMagick: various flaws [fedora-all]2016-10-03