{"schema_version":"1.7.5","id":"CVE-2016-10051","published":"2017-03-23T17:59:00.470Z","modified":"2026-07-08T12:35:43.177549Z","related":["SUSE-SU-2017:0518-1","SUSE-SU-2017:0529-1","SUSE-SU-2017:0586-1"],"details":"Use-after-free vulnerability in the ReadPWPImage function in coders/pwp.c in ImageMagick 6.9.5-5 allows remote attackers to cause a denial of service (application crash) or have other unspecified impact via a crafted file.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/imagemagick/imagemagick","events":[{"introduced":"0"},{"fixed":"548701354191a3dda5cffc6d415374b35b01d0b9"},{"fixed":"ecc03a2518c2b7dd375fde3a040fdae0bdf6a521"}],"database_specific":{"source":"REFERENCES"}}],"versions":["7.0.2-6","7.0.2-5","7.0.2-4","7.0.2-3","7.0.2-2","7.0.2-1","7.0.2-0","7.0.1-10","7.0.1-9","7.0.1-8","7.0.1-7","7.0.1-6","7.0.1-5","7.0.1-4","7.0.1-3","7.0.1-2","7.0.1-1","7.0.1-0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10051.json","vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"112344514761409233098529587784635627443","length":3169},"id":"CVE-2016-10051-1ce242a6","signature_type":"Function","signature_version":"v1","source":"https://github.com/imagemagick/imagemagick/commit/ecc03a2518c2b7dd375fde3a040fdae0bdf6a521","target":{"file":"coders/pwp.c","function":"ReadPWPImage"}},{"deprecated":false,"digest":{"function_hash":"251591791082250468375542980523777222426","length":3191},"id":"CVE-2016-10051-51b6d694","signature_type":"Function","signature_version":"v1","source":"https://github.com/imagemagick/imagemagick/commit/548701354191a3dda5cffc6d415374b35b01d0b9","target":{"file":"coders/pwp.c","function":"ReadPWPImage"}},{"deprecated":false,"digest":{"line_hashes":["326860355691829552683586416980822037330","297762523882933411879215595002057674510","113383696013090573040236781499743361414","199093459669254256153376441116227819955","284644810741949044403809340315222715947"],"threshold":0.9},"id":"CVE-2016-10051-90c52b21","signature_type":"Line","signature_version":"v1","source":"https://github.com/imagemagick/imagemagick/commit/548701354191a3dda5cffc6d415374b35b01d0b9","target":{"file":"coders/pwp.c"}},{"deprecated":false,"digest":{"line_hashes":["326860355691829552683586416980822037330","297762523882933411879215595002057674510","113383696013090573040236781499743361414","199093459669254256153376441116227819955","284644810741949044403809340315222715947"],"threshold":0.9},"id":"CVE-2016-10051-cba6ff89","signature_type":"Line","signature_version":"v1","source":"https://github.com/imagemagick/imagemagick/commit/ecc03a2518c2b7dd375fde3a040fdae0bdf6a521","target":{"file":"coders/pwp.c"}}],"vanir_signatures_modified":"2026-07-08T12:35:43Z"}},{"ranges":[{"type":"GIT","repo":"https://github.com/imagemagick/imagemagick6","events":[{"introduced":"839128db329afbe0195137820266efbf7de9baf7"},{"last_affected":"839128db329afbe0195137820266efbf7de9baf7"}],"database_specific":{"cpe":"cpe:2.3:a:imagemagick:imagemagick:6.9.5-5:*:*:*:*:*:*:*","extracted_events":[{"introduced":"6.9.5-5"},{"last_affected":"6.9.5-5"}],"source":"CPE_STRING"}}],"versions":["6.9.5-5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10051.json"}}],"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.openwall.com/lists/oss-security/2016/12/26/9"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/95187"},{"type":"ADVISORY","url":"https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=30245"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1410456"},{"type":"FIX","url":"https://github.com/ImageMagick/ImageMagick/commit/548701354191a3dda5cffc6d415374b35b01d0b9"},{"type":"FIX","url":"https://github.com/ImageMagick/ImageMagick/commit/ecc03a2518c2b7dd375fde3a040fdae0bdf6a521"}],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*","cpe:2.3:o:opensuse:leap:42.2:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"42.1"},{"last_affected":"42.1"},{"introduced":"42.2"},{"last_affected":"42.2"}],"source":"CPE_STRING","vendor_product":"opensuse:leap"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}