{"id":"CVE-2016-7521","details":"Heap-based buffer overflow in coders/psd.c in ImageMagick allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted PSD file.","modified":"2026-03-15T14:23:01.959699Z","published":"2017-04-20T18:59:01.093Z","related":["CGA-3958-9cqj-j9w6","SUSE-SU-2016:2667-1"],"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/93131"},{"type":"REPORT","url":"https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1537418"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2016/09/22/2"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1378748"},{"type":"FIX","url":"https://github.com/ImageMagick/ImageMagick/commit/30eec879c8b446b0ea9a3bb0da1a441cc8482bc4"},{"type":"FIX","url":"https://github.com/ImageMagick/ImageMagick/issues/92"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/imagemagick/imagemagick","events":[{"introduced":"0"},{"fixed":"30eec879c8b446b0ea9a3bb0da1a441cc8482bc4"}]},{"type":"GIT","repo":"https://github.com/imagemagick/imagemagick6","events":[{"introduced":"0"},{"fixed":"4bae9bed8a79e031884ca9a4681dce89dbd26855"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"6.9.4-0"}]}}],"database_specific":{"vanir_signatures":[{"signature_version":"v1","target":{"file":"coders/psd.c"},"source":"https://github.com/imagemagick/imagemagick/commit/30eec879c8b446b0ea9a3bb0da1a441cc8482bc4","id":"CVE-2016-7521-0cd3ef7a","digest":{"threshold":0.9,"line_hashes":["175923781266397434596439577613250783271","247495387716371465050858595938823156163","2931961638342073742908334328772865753","119484566557434995771045979942836017695","201593293178007003943730840612112783384","78485053470786231645736915884946123196","301271024079427872513535444839942357582","176555368913346940919697433192867184296"]},"deprecated":false,"signature_type":"Line"},{"signature_version":"v1","target":{"function":"DecodePSDPixels","file":"coders/psd.c"},"source":"https://github.com/imagemagick/imagemagick/commit/30eec879c8b446b0ea9a3bb0da1a441cc8482bc4","id":"CVE-2016-7521-ec1a2ae1","digest":{"function_hash":"97281487287534598895735610321528777022","length":2538},"deprecated":false,"signature_type":"Function"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7521.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}