5.5
MEDIUM CVSS 3.0
CVE-2016-9556
ImageMagick Out-of-Bounds Heap Read Vulnerability
Description

The IsPixelGray function in MagickCore/pixel-accessor.h in ImageMagick 7.0.3-8 allows remote attackers to cause a denial of service (out-of-bounds heap read) via a crafted image file.

INFO

Published Date :

March 23, 2017, 6:59 p.m.

Last Modified :

April 20, 2025, 1:37 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2016-9556 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_project leap
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.0 MEDIUM [email protected]
Solution
Update ImageMagick and GraphicsMagick packages to address an out-of-bounds heap read vulnerability.
  • Update ImageMagick to a later version.
  • Update GraphicsMagick packages to resolve the vulnerability.
Public PoC/Exploit Available at Github

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

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-9556.

URL Resource
http://lists.opensuse.org/opensuse-updates/2016-12/msg00040.html Third Party Advisory
http://www.debian.org/security/2016/dsa-3726 Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/11/23/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/12/01/4 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/12/02/12 Mailing List Third Party Advisory
http://www.securityfocus.com/bid/94492 Third Party Advisory VDB Entry
https://blogs.gentoo.org/ago/2016/11/19/imagemagick-heap-based-buffer-overflow-in-ispixelgray-pixel-accessor-h Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1398198 Issue Tracking Third Party Advisory
https://github.com/ImageMagick/ImageMagick/commit/ce98a7acbcfca7f0a178f4b1e7b957e419e0cc99 Issue Tracking Patch Vendor Advisory
http://lists.opensuse.org/opensuse-updates/2016-12/msg00040.html Third Party Advisory
http://www.debian.org/security/2016/dsa-3726 Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/11/23/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/12/01/4 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/12/02/12 Mailing List Third Party Advisory
http://www.securityfocus.com/bid/94492 Third Party Advisory VDB Entry
https://blogs.gentoo.org/ago/2016/11/19/imagemagick-heap-based-buffer-overflow-in-ispixelgray-pixel-accessor-h Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1398198 Issue Tracking Third Party Advisory
https://github.com/ImageMagick/ImageMagick/commit/ce98a7acbcfca7f0a178f4b1e7b957e419e0cc99 Issue Tracking Patch Vendor Advisory
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-9556 is associated with the following CWEs:

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: 6 months, 3 weeks ago
92 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-9556 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-9556 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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-updates/2016-12/msg00040.html
    Added Reference http://www.debian.org/security/2016/dsa-3726
    Added Reference http://www.openwall.com/lists/oss-security/2016/11/23/1
    Added Reference http://www.openwall.com/lists/oss-security/2016/12/01/4
    Added Reference http://www.openwall.com/lists/oss-security/2016/12/02/12
    Added Reference http://www.securityfocus.com/bid/94492
    Added Reference https://blogs.gentoo.org/ago/2016/11/19/imagemagick-heap-based-buffer-overflow-in-ispixelgray-pixel-accessor-h
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1398198
    Added Reference https://github.com/ImageMagick/ImageMagick/commit/ce98a7acbcfca7f0a178f4b1e7b957e419e0cc99
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Mar. 24, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:N/I:N/A:P)
    Added CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1398198 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1398198 Issue Tracking, Third Party Advisory
    Changed Reference Type https://github.com/ImageMagick/ImageMagick/commit/ce98a7acbcfca7f0a178f4b1e7b957e419e0cc99 No Types Assigned https://github.com/ImageMagick/ImageMagick/commit/ce98a7acbcfca7f0a178f4b1e7b957e419e0cc99 Issue Tracking, Patch, Vendor Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2016/12/02/12 No Types Assigned http://www.openwall.com/lists/oss-security/2016/12/02/12 Mailing List, Third Party Advisory
    Changed Reference Type http://lists.opensuse.org/opensuse-updates/2016-12/msg00040.html No Types Assigned http://lists.opensuse.org/opensuse-updates/2016-12/msg00040.html Third Party Advisory
    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 http://www.openwall.com/lists/oss-security/2016/12/01/4 No Types Assigned http://www.openwall.com/lists/oss-security/2016/12/01/4 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2016/11/23/1 No Types Assigned http://www.openwall.com/lists/oss-security/2016/11/23/1 Mailing List, Third Party Advisory
    Changed Reference Type https://blogs.gentoo.org/ago/2016/11/19/imagemagick-heap-based-buffer-overflow-in-ispixelgray-pixel-accessor-h No Types Assigned https://blogs.gentoo.org/ago/2016/11/19/imagemagick-heap-based-buffer-overflow-in-ispixelgray-pixel-accessor-h Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/94492 No Types Assigned http://www.securityfocus.com/bid/94492 Third Party Advisory, VDB Entry
    Added CWE CWE-119
    Added CPE Configuration OR *cpe:2.3:a:imagemagick:imagemagick:7.0.3-8:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:opensuse_project:leap:42.1:*:*:*:*:*:*:*
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.
Vulnerability Scoring Details
Base CVSS Score: 5.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 4.3
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

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

0.19 }} -0.04%

score

0.41477

percentile