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

Severity
8.8HIGHNVD
NVD5.5
EPSS
0.7%
top 28.23%
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 before 7.0.3.3 allows remote attackers to have unspecified impact via a crafted image, which triggers a memory allocation failure.

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 Packages5 packages

debiandebian/imagemagick< imagemagick 8:6.9.6.6+dfsg-1 (bookworm)+1
NVDimagemagick/imagemagick7.0.0-07.0.3-3+4
Debianimagemagick/imagemagick< 8:6.9.6.6+dfsg-1+3
NVDopensuse/leap42.1, 42.2+1

Also affects: Debian Linux 8.0

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
GHSA
GHSA-7g48-q8g6-cj95: The AcquireMagickMemory function in MagickCore/memory2022-05-13
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

7
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
Ubuntu
ImageMagick vulnerabilities2016-11-30
Red Hat
ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8862)2016-10-20
Red Hat
ImageMagick: Memory allocation failure in AcquireMagickMemory2016-10-07

💬Community

4
Bugzilla
CVE-2017-7275 ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8866)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-8862 ImageMagick: Memory allocation failure in AcquireMagickMemory2016-10-20
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