{"id":"CVE-2016-8866","details":"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.","modified":"2026-04-01T23:55:09.985575Z","published":"2017-02-15T19:59:01.017Z","related":["MGASA-2018-0229","SUSE-SU-2016:3256-1","SUSE-SU-2016:3258-1","SUSE-SU-2017:0305-1"],"references":[{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/10/20/3"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/10/21/5"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00085.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2017-01/msg00006.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-updates/2016-12/msg00141.html"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1388816"},{"type":"EVIDENCE","url":"https://blogs.gentoo.org/ago/2016/10/20/imagemagick-memory-allocation-failure-in-acquiremagickmemory-memory-c-incomplete-fix-for-cve-2016-8862/"},{"type":"EVIDENCE","url":"https://github.com/ImageMagick/ImageMagick/issues/271"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/imagemagick/imagemagick","events":[{"introduced":"0"},{"last_affected":"a702f057b11a0fe377071cb22e33bbf5ae085f5c"}],"database_specific":{"versions":[{"introduced":"7.0.0-0"},{"last_affected":"7.0.3-7"}]}},{"type":"GIT","repo":"https://github.com/imagemagick/imagemagick6","events":[{"introduced":"0"},{"fixed":"b91dd14ef55884af8f28e8978dac201a76b23d63"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"6.9.6-6"}]}}],"versions":["6.9.4-0","6.9.4-1","6.9.4-10","6.9.4-2","6.9.4-3","6.9.4-4","6.9.4-5","6.9.4-6","6.9.4-7","6.9.4-8","6.9.4-9","6.9.5-0","6.9.5-1","6.9.5-10","6.9.5-2","6.9.5-3","6.9.5-4","6.9.5-5","6.9.5-6","6.9.5-7","6.9.5-8","6.9.5-9","6.9.6-0","6.9.6-1","6.9.6-2","6.9.6-3","6.9.6-4","6.9.6-5","7.0.1-0","7.0.1-1","7.0.1-10","7.0.1-2","7.0.1-3","7.0.1-4","7.0.1-5","7.0.1-6","7.0.1-7","7.0.1-8","7.0.1-9","7.0.2-0","7.0.2-1","7.0.2-10","7.0.2-2","7.0.2-3","7.0.2-4","7.0.2-5","7.0.2-6","7.0.2-7","7.0.2-8","7.0.2-9","7.0.3-0","7.0.3-1","7.0.3-2","7.0.3-3","7.0.3-4","7.0.3-5","7.0.3-6","7.0.3-7"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-8866.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"42.1"}]},{"events":[{"introduced":"0"},{"last_affected":"42.2"}]},{"events":[{"introduced":"0"},{"last_affected":"13.2"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}