{"schemaVersion":3,"id":"CVE-2016-9773","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Heap-based buffer overflow in 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.  NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-9556.","dates":{"published":"2017-02-16T18:00:00.000Z","modified":"2024-08-06T02:59:03.401Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01832,"percentile":0.78571,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01832},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02491,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01832,"percentile":0.78571}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02491,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01832,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01832,"percentile":0.78571}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"},{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"imagemagick","product":"imagemagick","name":"imagemagick","label":"imagemagick","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"7.0.3-8","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0.3-8","eol":null,"hubHref":"/vendor/imagemagick/imagemagick"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://blogs.gentoo.org/ago/2016/12/01/imagemagick-heap-based-buffer-overflow-in-ispixelgray-pixel-accessor-h-incomplete-fix-for-cve-2016-9556/","label":"blogs.gentoo.org/ago/…","hostname":"blogs.gentoo.org","tags":["X Refsource MISC","Patch","Third Party Advisory","VDB Entry"]},{"url":"http://www.openwall.com/lists/oss-security/2016/12/02/12","label":"www.openwall.com/lists/oss-security/2016/12/02/12","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/12/01/4","label":"www.openwall.com/lists/oss-security/2016/12/01/4","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/12/02/11","label":"www.openwall.com/lists/oss-security/2016/12/02/11","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2018-0229","SUSE-SU-2016:3256-1","SUSE-SU-2016:3258-1"],"duplicates":[],"related":["SUSE-SU-2016:3256-1","SUSE-SU-2016:3258-1"]},"timeline":[{"kind":"published","date":"2017-02-16T18:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T02:59:03.401Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T06:38:32.349Z","stale":false,"partial":false}}