{"uuid": "a9fe1f10-51bb-4749-9e07-d94ed78978f9", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2016-3714", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/fileformat/imagemagick_delegate.rb", "content": "{\"aliases\": [], \"arch\": \"cmd\", \"author\": [\"stewie\", \"Nikolay Ermishkin\", \"Tavis Ormandy\", \"wvu \", \"hdm \"], \"autofilter_ports\": [], \"autofilter_services\": [], \"check\": false, \"default_credential\": false, \"description\": \"This module exploits a shell command injection in the way \\\"delegates\\\"\\n          (commands for converting files) are processed in ImageMagick versions\\n          &lt;= 7.0.1-0 and &lt;= 6.9.3-9 (legacy).\\n\\n          Since ImageMagick uses file magic to detect file format, you can create\\n          a .png (for example) which is actually a crafted SVG (for example) that\\n          triggers the command injection.\\n\\n          The PostScript (PS) target leverages a Ghostscript -dSAFER bypass\\n          (discovered by taviso) to achieve RCE in the Ghostscript delegate.\\n          Ghostscript versions 9.18 and later are affected. This target is\\n          provided as is and will not be updated to track additional vulns.\\n\\n          If USE_POPEN is set to true, a |-prefixed command will be used for the\\n          exploit. No delegates are involved in this exploitation.\", \"disclosure_date\": \"2016-05-03\", \"fullname\": \"exploit/unix/fileformat/imagemagick_delegate\", \"is_install_path\": true, \"mod_time\": \"2025-05-06 23:30:37 +0000\", \"name\": \"ImageMagick Delegate Arbitrary Command Execution\", \"needs_cleanup\": null, \"notes\": {\"AKA\": [\"ImageTragick\"], \"RelatedModules\": [\"exploit/unix/fileformat/ghostscript_type_confusion\", \"exploit/multi/fileformat/ghostscript_failed_restore\"], \"Reliability\": [], \"SideEffects\": [], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/unix/fileformat/imagemagick_delegate.rb\", \"platform\": \"Unix\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"unix/fileformat/imagemagick_delegate\", \"references\": [\"CVE-2016-3714\", \"CVE-2016-7976\", \"URL-https://imagetragick.com/\", \"URL-https://seclists.org/oss-sec/2016/q2/205\", \"URL-https://seclists.org/oss-sec/2016/q3/682\", \"URL-https://github.com/ImageMagick/ImageMagick/commit/06c41ab\", \"URL-https://github.com/ImageMagick/ImageMagick/commit/a347456\", \"URL-http://permalink.gmane.org/gmane.comp.security.oss.general/19669\"], \"rport\": null, \"session_types\": false, \"targets\": [\"SVG file\", \"MVG file\", \"PS file\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:50:34.555650Z"}