{"id":"CVE-2016-9556","details":"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.","modified":"2026-08-07T14:31:30.356811Z","published":"2017-03-23T18:59:01.100Z","related":["SUSE-SU-2016:3256-1","SUSE-SU-2016:3258-1","SUSE-SU-2017:0305-1"],"database_specific":{"unresolved_ranges":[{"source":"CPE_STRING","vendor_product":"debian:debian_linux","cpes":["cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"8.0"},{"last_affected":"8.0"}]},{"cpes":["cpe:2.3:o:opensuse_project:leap:42.1:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"42.1"},{"last_affected":"42.1"}],"source":"CPE_STRING","vendor_product":"opensuse_project:leap"}]},"references":[{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-updates/2016-12/msg00040.html"},{"type":"ADVISORY","url":"http://www.debian.org/security/2016/dsa-3726"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/11/23/1"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/12/01/4"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/12/02/12"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/94492"},{"type":"ADVISORY","url":"https://blogs.gentoo.org/ago/2016/11/19/imagemagick-heap-based-buffer-overflow-in-ispixelgray-pixel-accessor-h"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1398198"},{"type":"FIX","url":"https://github.com/ImageMagick/ImageMagick/commit/ce98a7acbcfca7f0a178f4b1e7b957e419e0cc99"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/imagemagick/imagemagick","events":[{"introduced":"fdeb2b112a9f3ab16e61c13c406bd14fc5b80d6c"},{"last_affected":"fdeb2b112a9f3ab16e61c13c406bd14fc5b80d6c"},{"fixed":"ce98a7acbcfca7f0a178f4b1e7b957e419e0cc99"}],"database_specific":{"extracted_events":[{"introduced":"7.0.3-8"},{"last_affected":"7.0.3-8"}],"source":["CPE_STRING","REFERENCES"],"cpe":"cpe:2.3:a:imagemagick:imagemagick:7.0.3-8:*:*:*:*:*:*:*"}}],"versions":["7.0.3-8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-9556.json","vanir_signatures_modified":"2026-08-07T14:31:30Z","vanir_signatures":[{"digest":{"function_hash":"320932621590700566942648456387954414978","length":11330},"id":"CVE-2016-9556-6914da3d","signature_type":"Function","signature_version":"v1","source":"https://github.com/imagemagick/imagemagick/commit/ce98a7acbcfca7f0a178f4b1e7b957e419e0cc99","target":{"file":"coders/sgi.c","function":"ReadSGIImage"},"deprecated":false},{"deprecated":false,"digest":{"line_hashes":["158914192519834743046715997327546238955","247723800267508866142098066814654315147","306954479034000166329109854572178577949","298672604460329150479975648851281235336"],"threshold":0.9},"id":"CVE-2016-9556-a1b09a93","signature_type":"Line","signature_version":"v1","source":"https://github.com/imagemagick/imagemagick/commit/ce98a7acbcfca7f0a178f4b1e7b957e419e0cc99","target":{"file":"coders/sgi.c"}}]}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}