8.8
HIGH
CVE-2016-8677
ImageMagick Remote Memory Allocation Failure Vulnerability
Description

The AcquireQuantumPixels function in MagickCore/quantum.c in ImageMagick before 7.0.3-1 allows remote attackers to have unspecified impact via a crafted image file, which triggers a memory allocation failure.

INFO

Published Date :

Feb. 15, 2017, 9:59 p.m.

Last Modified :

April 20, 2021, 3:29 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2016-8677 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2016-8677 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Imagemagick imagemagick
1 Opensuse opensuse
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2016-8677.

URL Resource
http://lists.opensuse.org/opensuse-updates/2016-10/msg00107.html Mailing List Third Party Advisory
http://www.debian.org/security/2016/dsa-3726 Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/10/16/1 Mailing List Patch Third Party Advisory
http://www.securityfocus.com/bid/93598 Third Party Advisory VDB Entry
https://blogs.gentoo.org/ago/2016/10/07/imagemagick-memory-allocate-failure-in-acquirequantumpixels-quantum-c/ Patch Third Party Advisory VDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=1385698 Issue Tracking Patch
https://github.com/ImageMagick/ImageMagick/commit/6e48aa92ff4e6e95424300ecd52a9ea453c19c60 Issue Tracking Patch Third Party Advisory
https://github.com/ImageMagick/ImageMagick/issues/268 Issue Tracking Patch Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

A collection of vulnerabilities discovered by the AFL fuzzer (afl-fuzz)

Updated: 5 months, 2 weeks ago
88 stars 16 fork 16 watcher
Born at : Aug. 27, 2015, 12:26 a.m. This repo has been linked 332 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-8677 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-8677 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Apr. 20, 2021

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type http://lists.opensuse.org/opensuse-updates/2016-10/msg00107.html Third Party Advisory http://lists.opensuse.org/opensuse-updates/2016-10/msg00107.html Mailing List, Third Party Advisory
    Removed CWE NIST CWE-119
    Added CWE NIST NVD-CWE-noinfo
    Changed CPE Configuration OR *cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* versions up to (including) 7.0.3-0 OR *cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* versions up to (excluding) 6.9.5-10 *cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* versions from (including) 7.0.0-0 up to (excluding) 7.0.3-1
  • CPE Deprecation Remap by [email protected]

    Oct. 30, 2018

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:o:opensuse_project:opensuse:13.2:*:*:*:*:*:*:* OR *cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*
  • Initial Analysis by [email protected]

    Feb. 22, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type http://lists.opensuse.org/opensuse-updates/2016-10/msg00107.html No Types Assigned http://lists.opensuse.org/opensuse-updates/2016-10/msg00107.html Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/93598 No Types Assigned http://www.securityfocus.com/bid/93598 Third Party Advisory, VDB Entry
    Changed Reference Type https://github.com/ImageMagick/ImageMagick/issues/268 No Types Assigned https://github.com/ImageMagick/ImageMagick/issues/268 Third Party Advisory, Issue Tracking, Patch
    Changed Reference Type http://www.debian.org/security/2016/dsa-3726 No Types Assigned http://www.debian.org/security/2016/dsa-3726 Third Party Advisory
    Changed Reference Type https://blogs.gentoo.org/ago/2016/10/07/imagemagick-memory-allocate-failure-in-acquirequantumpixels-quantum-c/ No Types Assigned https://blogs.gentoo.org/ago/2016/10/07/imagemagick-memory-allocate-failure-in-acquirequantumpixels-quantum-c/ Third Party Advisory, VDB Entry, Patch
    Changed Reference Type http://www.openwall.com/lists/oss-security/2016/10/16/1 No Types Assigned http://www.openwall.com/lists/oss-security/2016/10/16/1 Third Party Advisory, Mailing List, Patch
    Changed Reference Type https://github.com/ImageMagick/ImageMagick/commit/6e48aa92ff4e6e95424300ecd52a9ea453c19c60 No Types Assigned https://github.com/ImageMagick/ImageMagick/commit/6e48aa92ff4e6e95424300ecd52a9ea453c19c60 Third Party Advisory, Issue Tracking, Patch
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1385698 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1385698 Issue Tracking, Patch
    Added CWE CWE-119
    Added CPE Configuration OR *cpe:2.3:a:imagemagick:imagemagick:7.0.3-0:*:*:*:*:*:*:* (and previous)
    Added CPE Configuration OR *cpe:2.3:o:opensuse_project:opensuse:13.2:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-8677 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2016-8677 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.48 }} 0.04%

score

0.76235

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability