CVE-2016-8862
published 2017-02-15CVE-2016-8862: 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…
PriorityP343high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
4.04%
89.5th percentile
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.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | imagemagick | < imagemagick 8:6.9.6.6+dfsg-1 (bookworm) | imagemagick 8:6.9.6.6+dfsg-1 (bookworm) |
| debian | imagemagick | — | — |
| imagemagick | imagemagick | < 6.9.4-0 | 6.9.4-0 |
| imagemagick | imagemagick | < 6.9.6-6 | 6.9.6-6 |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | >= 0 < 8:6.9.6.6+dfsg-1 | 8:6.9.6.6+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.6.6+dfsg-1 | 8:6.9.6.6+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.6.6+dfsg-1 | 8:6.9.6.6+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.6.6+dfsg-1 | 8:6.9.6.6+dfsg-1 |
| imagemagick | imagemagick | >= 7.0.0-0 < 7.0.3-3 | 7.0.3-3 |
| imagemagick | imagemagick | 7.0.0-0 – 7.0.3-7 | — |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
| opensuse | opensuse | — | — |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8LOW
vendor_redhat8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8866)
vendor_redhat·2017-03-27·CVSS 8.8
CVE-2017-7275 [HIGH] CWE-119 ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8866)
ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8866)
The ReadPCXImage function in coders/pcx.c in ImageMagick 7.0.4.9 allows remote attackers to cause a denial of service (attempted large memory allocation and application crash) via a crafted file. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-8862 and CVE-2016-8866.
Package: ImageMagick (Red Hat Enterprise Linux 5) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 6) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 7) - Will not fix
Package: ImageMagick (Red Hat OpenShift Enterprise 2) - Will not fix
Debian
CVE-2017-7275: imagemagick - The ReadPCXImage function in coders/pcx.c in ImageMagick 7.0.4.9 allows remote a...
vendor_debian·2017·CVSS 8.8
CVE-2017-7275 [HIGH] CVE-2017-7275: imagemagick - The ReadPCXImage function in coders/pcx.c in ImageMagick 7.0.4.9 allows remote a...
The ReadPCXImage function in coders/pcx.c in ImageMagick 7.0.4.9 allows remote attackers to cause a denial of service (attempted large memory allocation and application crash) via a crafted file. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-8862 and CVE-2016-8866.
Scope: local
bookworm: open
bullseye: open
forky: open
sid: open
trixie: open
Ubuntu
ImageMagick vulnerabilities
vendor_ubuntu·2016-11-30
CVE-2016-7799 ImageMagick vulnerabilities
Title: ImageMagick vulnerabilities
Summary: Several security issues were fixed in ImageMagick.
It was discovered that ImageMagick incorrectly handled certain malformed
image files. If a user or automated system using ImageMagick were tricked
into opening a specially crafted image, an attacker could exploit this to
cause a denial of service or possibly execute code with the privileges of
the user invoking the program.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8862)
vendor_redhat·2016-10-20·CVSS 8.8
CVE-2016-8866 [HIGH] CWE-119 ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8862)
ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8862)
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.
Package: ImageMagick (Red Hat Enterprise Linux 5) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 6) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 7) - Will not fix
Package: ImageMagick (Red Hat OpenShift Enterprise 2) - Will not fix
Red Hat
ImageMagick: Memory allocation failure in AcquireMagickMemory
vendor_redhat·2016-10-07·CVSS 8.8
CVE-2016-8862 [HIGH] CWE-119 ImageMagick: Memory allocation failure in AcquireMagickMemory
ImageMagick: Memory allocation failure in AcquireMagickMemory
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.
Package: ImageMagick (Red Hat Enterprise Linux 5) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 6) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 7) - Will not fix
Package: ImageMagick (Red Hat OpenShift Enterprise 2) - Will not fix
Debian
CVE-2016-8866: imagemagick - The AcquireMagickMemory function in MagickCore/memory.c in ImageMagick 7.0.3.3 b...
vendor_debian·2016·CVSS 8.8
CVE-2016-8866 [HIGH] CVE-2016-8866: imagemagick - The AcquireMagickMemory function in MagickCore/memory.c in ImageMagick 7.0.3.3 b...
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.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved
sid: resolved
trixie: resolved
Debian
CVE-2016-8862: imagemagick - The AcquireMagickMemory function in MagickCore/memory.c in ImageMagick before 7....
vendor_debian·2016·CVSS 8.8
CVE-2016-8862 [HIGH] CVE-2016-8862: imagemagick - The AcquireMagickMemory function in MagickCore/memory.c in ImageMagick before 7....
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.
Scope: local
bookworm: resolved (fixed in 8:6.9.6.6+dfsg-1)
bullseye: resolved (fixed in 8:6.9.6.6+dfsg-1)
forky: resolved (fixed in 8:6.9.6.6+dfsg-1)
sid: resolved (fixed in 8:6.9.6.6+dfsg-1)
trixie: resolved (fixed in 8:6.9.6.6+dfsg-1)
GHSA
GHSA-5rcv-qr5q-7p43: The ReadPCXImage function in coders/pcx
ghsa_unreviewed·2022-05-17·CVSS 8.8
CVE-2017-7275 [HIGH] CWE-119 GHSA-5rcv-qr5q-7p43: The ReadPCXImage function in coders/pcx
The ReadPCXImage function in coders/pcx.c in ImageMagick 7.0.4.9 allows remote attackers to cause a denial of service (attempted large memory allocation and application crash) via a crafted file. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-8862 and CVE-2016-8866.
GHSA
GHSA-v56x-jxjp-g3fg: The AcquireMagickMemory function in MagickCore/memory
ghsa_unreviewed·2022-05-13·CVSS 8.8
CVE-2016-8866 [HIGH] CWE-119 GHSA-v56x-jxjp-g3fg: The AcquireMagickMemory function in MagickCore/memory
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.
GHSA
GHSA-7g48-q8g6-cj95: The AcquireMagickMemory function in MagickCore/memory
ghsa_unreviewed·2022-05-13
CVE-2016-8862 [HIGH] CWE-119 GHSA-7g48-q8g6-cj95: The AcquireMagickMemory function in MagickCore/memory
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.
OSV
CVE-2017-7275: The ReadPCXImage function in coders/pcx
osv·2017-03-27·CVSS 8.8
CVE-2017-7275 [HIGH] CVE-2017-7275: The ReadPCXImage function in coders/pcx
The ReadPCXImage function in coders/pcx.c in ImageMagick 7.0.4.9 allows remote attackers to cause a denial of service (attempted large memory allocation and application crash) via a crafted file. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-8862 and CVE-2016-8866.
OSV
CVE-2016-8866: The AcquireMagickMemory function in MagickCore/memory
osv·2017-02-15·CVSS 8.8
CVE-2016-8866 [HIGH] CVE-2016-8866: The AcquireMagickMemory function in MagickCore/memory
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.
OSV
CVE-2016-8862: The AcquireMagickMemory function in MagickCore/memory
osv·2017-02-15·CVSS 8.8
CVE-2016-8862 [HIGH] CVE-2016-8862: The AcquireMagickMemory function in MagickCore/memory
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-7275 ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8866)
bugzilla·2017-03-31·CVSS 8.8
CVE-2017-7275 [HIGH] CVE-2017-7275 ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8866)
CVE-2017-7275 ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8866)
It was found that the fixes for CVE-2016-8866 and CVE-2016-8862 were incomplete:
The ReadPCXImage function in coders/pcx.c in ImageMagick 7.0.4.9 allows remote attackers to cause a denial of service (attempted large memory allocation and application crash) via a crafted file.
Discussion:
External References:
https://blogs.gentoo.org/ago/2017/03/27/imagemagick-memory-allocation-failure-in-acquiremagickmemory-memory-c-incomplete-fix-for-cve-2016-8862-and-cve-2016-8866/
---
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1437935]
Bugzilla
CVE-2016-8866 ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8862)
bugzilla·2016-10-26·CVSS 8.8
CVE-2016-8866 [HIGH] CVE-2016-8866 ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8862)
CVE-2016-8866 ImageMagick: Memory allocation failure in AcquireMagickMemory (incomplete fix for CVE-2016-8862)
It was discovered that the upstream fix for this issue was not complete. There is still a memory allocation failure in memory.c
References:
http://seclists.org/oss-sec/2016/q4/197
https://blogs.gentoo.org/ago/2016/10/20/imagemagick-memory-allocation-failure-in-acquiremagickmemory-memory-c-incomplete-fix-for-cve-2016-8862/
Discussion:
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1381145]
---
Upstream patch:
https://github.com/ImageMagick/ImageMagick/commit/ab2c9d6a8dd6d71b161ec9cc57a588b116b52322
Analysis:
Basically lowers map_length from 32 (fix for CVE-2016-8862) to the new value 22. Even without the previous fix, this flaw affects ImageMa
Bugzilla
CVE-2016-8862 ImageMagick: Memory allocation failure in AcquireMagickMemory
bugzilla·2016-10-20·CVSS 8.8
CVE-2016-8862 [HIGH] CVE-2016-8862 ImageMagick: Memory allocation failure in AcquireMagickMemory
CVE-2016-8862 ImageMagick: Memory allocation failure in AcquireMagickMemory
A memory allocation failure was found in ImageMagick in memory.c
References:
http://seclists.org/oss-sec/2016/q4/167
https://blogs.gentoo.org/ago/2016/10/17/imagemagick-memory-allocation-failure-in-acquiremagickmemory-memory-c/
Upstream patch:
https://github.com/ImageMagick/ImageMagick/commit/aea6c6507f55632829e6432f8177a084a57c9fcc
Discussion:
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1381145]
---
Upstream bug:
https://github.com/ImageMagick/ImageMagick/issues/271
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]
bugzilla·2016-10-03·CVSS 6.5
CVE-2016-7799 [MEDIUM] 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]
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]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit messag
http://www.debian.org/security/2016/dsa-3726http://www.openwall.com/lists/oss-security/2016/10/20/2http://www.openwall.com/lists/oss-security/2016/10/20/3http://www.securityfocus.com/bid/93794https://blogs.gentoo.org/ago/2016/10/17/imagemagick-memory-allocation-failure-in-acquiremagickmemory-memory-c/https://bugzilla.redhat.com/show_bug.cgi?id=1387135https://github.com/ImageMagick/ImageMagick/issues/271http://www.debian.org/security/2016/dsa-3726http://www.openwall.com/lists/oss-security/2016/10/20/2http://www.openwall.com/lists/oss-security/2016/10/20/3http://www.securityfocus.com/bid/93794https://blogs.gentoo.org/ago/2016/10/17/imagemagick-memory-allocation-failure-in-acquiremagickmemory-memory-c/https://bugzilla.redhat.com/show_bug.cgi?id=1387135https://github.com/ImageMagick/ImageMagick/issues/271
2017-02-15
Published