{"id":"CVE-2016-10070","details":"Heap-based buffer overflow in the CalcMinMax function in coders/mat.c in ImageMagick before 6.9.4-0 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted mat file.","modified":"2026-04-01T23:32:38.126969Z","published":"2017-03-03T18:59:00.147Z","related":["SUSE-SU-2017:0518-1","SUSE-SU-2017:0529-1","SUSE-SU-2017:0586-1"],"references":[{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-updates/2017-02/msg00028.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-updates/2017-02/msg00031.html"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/95221"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2016/12/26/9"},{"type":"FIX","url":"https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1545366"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1410510"},{"type":"FIX","url":"https://github.com/ImageMagick/ImageMagick/commit/b173a352397877775c51c9a0e9d59eb6ce24c455"},{"type":"FIX","url":"https://github.com/ImageMagick/ImageMagick/commit/a6240a163cb787909703d9fc649cf861f60ddd7c"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/imagemagick/imagemagick","events":[{"introduced":"0"},{"fixed":"a6240a163cb787909703d9fc649cf861f60ddd7c"},{"fixed":"b173a352397877775c51c9a0e9d59eb6ce24c455"}]},{"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":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"6.9.3-10"}]},{"events":[{"introduced":"0"},{"last_affected":"42.1"}]},{"events":[{"introduced":"0"},{"last_affected":"42.2"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10070.json","vanir_signatures":[{"digest":{"function_hash":"228678083036095774681467336683464649209","length":11010},"source":"https://github.com/imagemagick/imagemagick/commit/b173a352397877775c51c9a0e9d59eb6ce24c455","signature_version":"v1","deprecated":false,"signature_type":"Function","id":"CVE-2016-10070-68608b74","target":{"file":"coders/mat.c","function":"ReadMATImage"}},{"digest":{"function_hash":"100542800754363567782106591142409616134","length":11023},"source":"https://github.com/imagemagick/imagemagick/commit/a6240a163cb787909703d9fc649cf861f60ddd7c","signature_version":"v1","deprecated":false,"signature_type":"Function","id":"CVE-2016-10070-7ae0ecc2","target":{"file":"coders/mat.c","function":"ReadMATImage"}},{"digest":{"threshold":0.9,"line_hashes":["104979937262347713278373044487411267202","175834825612476563933057226562340664836","283322184526029343880825074926793675018","215957794696520767711439946383935888901"]},"source":"https://github.com/imagemagick/imagemagick/commit/a6240a163cb787909703d9fc649cf861f60ddd7c","signature_version":"v1","deprecated":false,"signature_type":"Line","id":"CVE-2016-10070-af357e78","target":{"file":"coders/mat.c"}},{"digest":{"threshold":0.9,"line_hashes":["104979937262347713278373044487411267202","175834825612476563933057226562340664836","283322184526029343880825074926793675018","215957794696520767711439946383935888901"]},"source":"https://github.com/imagemagick/imagemagick/commit/b173a352397877775c51c9a0e9d59eb6ce24c455","signature_version":"v1","deprecated":false,"signature_type":"Line","id":"CVE-2016-10070-b6c2d3e9","target":{"file":"coders/mat.c"}}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}