{"id":"CVE-2016-7520","details":"Heap-based buffer overflow in coders/hdr.c in ImageMagick allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted HDR file.","modified":"2026-04-11T05:00:52.374540Z","published":"2017-04-20T18:59:01.060Z","related":["CGA-cj3w-pp3x-hfhq","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/1537213"},{"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=1378747"},{"type":"FIX","url":"https://github.com/ImageMagick/ImageMagick/commit/14e606db148d6ebcaae20f1e1d6d71903ca4a556"},{"type":"FIX","url":"https://github.com/ImageMagick/ImageMagick/issues/90"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/imagemagick/imagemagick","events":[{"introduced":"0"},{"fixed":"14e606db148d6ebcaae20f1e1d6d71903ca4a556"}]},{"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","source":"https://github.com/imagemagick/imagemagick/commit/14e606db148d6ebcaae20f1e1d6d71903ca4a556","id":"CVE-2016-7520-9fc7a166","digest":{"threshold":0.9,"line_hashes":["261613896413040236202728902801090629737","910447047944893757553674354114831407","209129301325924218894889965815119603213","175077565918725114436041454196775222743","176637435052841913276605164796219644003","208025609213307800022292998157650736121","274277301695813900790937200843926142684","321071345149128667616407158871456610962","311274049531778033145933701126830577393","70253998843513032037944280532823061077","163980523602352263592525460105768086099"]},"deprecated":false,"target":{"file":"coders/hdr.c"},"signature_type":"Line"},{"signature_version":"v1","source":"https://github.com/imagemagick/imagemagick/commit/14e606db148d6ebcaae20f1e1d6d71903ca4a556","id":"CVE-2016-7520-fdec17b1","digest":{"length":5072,"function_hash":"294111022627234427408949519455393145826"},"deprecated":false,"target":{"function":"WriteHDRImage","file":"coders/hdr.c"},"signature_type":"Function"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7520.json","vanir_signatures_modified":"2026-04-11T05:00:52Z"}}],"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"}]}