RHSA-2016:0726HighCVSS 8.4

Red Hat Security Advisory: ImageMagick security update

Published
May 9, 2016
Last Modified
November 7, 2026

🔗 CVE IDs covered (5)

📋 Description

CVE-2016-3714 — ImageMagick: Insufficient shell characters filtering CVE-2016-3715 — ImageMagick: File deletion CVE-2016-3716 — ImageMagick: File moving CVE-2016-3717 — ImageMagick: Local file read CVE-2016-3718 — ImageMagick: SSRF vulnerability

🎯 Affected products200

  • Red Hat Enterprise Linux Client (v. 7)
  • Red Hat Enterprise Linux Client Optional (v. 7)
  • Red Hat Enterprise Linux ComputeNode Optional (v. 7)
  • Red Hat Enterprise Linux Desktop (v. 6)
  • Red Hat Enterprise Linux Desktop Optional (v. 6)
  • Red Hat Enterprise Linux HPC Node Optional (v. 6)
  • Red Hat Enterprise Linux Server (v. 6)
  • Red Hat Enterprise Linux Server (v. 7)
  • Red Hat Enterprise Linux Server Optional (v. 6)
  • Red Hat Enterprise Linux Server Optional (v. 7)
  • Red Hat Enterprise Linux Workstation (v. 6)
  • Red Hat Enterprise Linux Workstation (v. 7)
  • Red Hat Enterprise Linux Workstation Optional (v. 6)
  • Red Hat Enterprise Linux Workstation Optional (v. 7)
  • ImageMagick-0:6.7.2.7-4.el6_7.i686 as a component of Red Hat Enterprise Linux Desktop (v. 6)
  • ImageMagick-0:6.7.2.7-4.el6_7.i686 as a component of Red Hat Enterprise Linux HPC Node Optional (v. 6)
  • ImageMagick-0:6.7.2.7-4.el6_7.i686 as a component of Red Hat Enterprise Linux Server (v. 6)
  • ImageMagick-0:6.7.2.7-4.el6_7.i686 as a component of Red Hat Enterprise Linux Workstation (v. 6)
  • ImageMagick-0:6.7.2.7-4.el6_7.ppc as a component of Red Hat Enterprise Linux Server (v. 6)
  • ImageMagick-0:6.7.2.7-4.el6_7.ppc64 as a component of Red Hat Enterprise Linux Server (v. 6)
  • ImageMagick-0:6.7.2.7-4.el6_7.s390 as a component of Red Hat Enterprise Linux Server (v. 6)
  • ImageMagick-0:6.7.2.7-4.el6_7.s390x as a component of Red Hat Enterprise Linux Server (v. 6)
  • ImageMagick-0:6.7.2.7-4.el6_7.src as a component of Red Hat Enterprise Linux Desktop (v. 6)
  • ImageMagick-0:6.7.2.7-4.el6_7.src as a component of Red Hat Enterprise Linux HPC Node Optional (v. 6)
  • ImageMagick-0:6.7.2.7-4.el6_7.src as a component of Red Hat Enterprise Linux Server (v. 6)
  • ImageMagick-0:6.7.2.7-4.el6_7.src as a component of Red Hat Enterprise Linux Workstation (v. 6)
  • ImageMagick-0:6.7.2.7-4.el6_7.x86_64 as a component of Red Hat Enterprise Linux Desktop (v. 6)
  • ImageMagick-0:6.7.2.7-4.el6_7.x86_64 as a component of Red Hat Enterprise Linux HPC Node Optional (v. 6)
  • ImageMagick-0:6.7.2.7-4.el6_7.x86_64 as a component of Red Hat Enterprise Linux Server (v. 6)
  • ImageMagick-0:6.7.2.7-4.el6_7.x86_64 as a component of Red Hat Enterprise Linux Workstation (v. 6)
  • +170 more not shown

✅ Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: Details can be found under the resolve tab at https://access.redhat.com/security/vulnerabilities/2296071 Red Hat Enterprise Linux 6 and 7 ================================ As a workaround the /etc/ImageMagick/policy.xml file can be edited to disable processing of MVG, HTTPS, HTTP, URL, FTP, EPHEMERAL, MSL, LABEL, TEXT, SHOW, WIN and PLT commands within image files, simply add the following lines: <policy domain="coder" rights="none" pattern="EPHEMERAL" /> <policy domain="coder" rights="none" pattern="HTTPS" /> <policy domain="coder" rights="none" pattern="HTTP" /> <policy domain="coder" rights="none" pattern="URL" /> <policy domain="coder" rights="none" pattern="FTP" /> <policy domain="coder" rights="none" pattern="MVG" /> <policy domain="coder" rights="none" pattern="MSL" /> <policy domain="coder" rights="none" pattern="TEXT" /> <policy domain="coder" rights="none" pattern="LABEL" /> <policy domain="coder" rights="none" pattern="SHOW" /> <policy domain="coder" rights="none" pattern="WIN" /> <policy domain="coder" rights="none" pattern="PLT" /> <policy domain="path" rights="none" pattern="@*" /> within the policy map stanza: <policymap> ... </policymap> Red Hat Enterprise Linux 5 ========================== In the following folders: /usr/lib64/ImageMagick-6.2.8/modules-Q16/coders/ (64bit package) or /usr/lib/ImageMagick-6.2.8/modules-Q16/coders/ (32bit package) Rename the following files: * mvg.so to mvg.so.bak * msl.so to msl.so.bak * label.so to label.so.bak Workaround: Details can be found under the resolve tab at https://access.redhat.com/security/vulnerabilities/2296071 Red Hat Enterprise Linux 6 and 7 ================================ As a workaround the /etc/ImageMagick/policy.xml file can be edited to disable processing of MVG, HTTPS, HTTP, URL, FTP, EPHEMERAL, MSL, LABEL, TEXT, SHOW, WIN and PLT commands within image files, simply add the following lines: <policy domain="coder" rights="none" pattern="EPHEMERAL" /> <policy domain="coder" rights="none" pattern="HTTPS" /> <policy domain="coder" rights="none" pattern="HTTP" /> <policy domain="coder" rights="none" pattern="URL" /> <policy domain="coder" rights="none" pattern="FTP" /> <policy domain="coder" rights="none" pattern="MVG" /> <policy domain="coder" rights="none" pattern="MSL" /> <policy domain="coder" rights="none" pattern="TEXT" /> <policy domain="coder" rights="none" pattern="LABEL" /> <policy domain="coder" rights="none" pattern="SHOW" /> <policy domain="coder" rights="none" pattern="WIN" /> <policy domain="coder" rights="none" pattern="PLT" /> <policy domain="path" rights="none" pattern="@*" /> within the policy map stanza: <policymap> ... </policymap> Red Hat Enterprise Linux 5 ========================== In the following folders: /usr/lib64/ImageMagick-6.2.8/modules-Q16/coders/ (64bit package) or /usr/lib/ImageMagick-6.2.8/modules-Q16/coders/ (32bit package) Rename the following files: * mvg.so to mvg.so.bak * msl.so to msl.so.bak * label.so to label.so.bak

🔗 References (8)