CVE-2016-5118

Summary

CVECVE-2016-5118
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-06-10 15:59:00 UTC
Updated2023-08-01 18:21:00 UTC
DescriptionThe OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbitrary code via a | (pipe) character at the start of a filename.

Risk And Classification

Problem Types: NVD-CWE-noinfo

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 15.10 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 15.10 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Application Graphicsmagick Graphicsmagick All All All All
Application Imagemagick Imagemagick - All All All
Operating System Novell Suse Linux Enterprise Desktop 12.0 All All All
Operating System Novell Suse Linux Enterprise Desktop 12.0 sp1 All All
Operating System Novell Suse Linux Enterprise Desktop 12.0 All All All
Operating System Novell Suse Linux Enterprise Desktop 12.0 sp1 All All
Operating System Novell Suse Linux Enterprise Server 12.0 All All All
Operating System Novell Suse Linux Enterprise Server 12.0 sp1 All All
Operating System Novell Suse Linux Enterprise Server 12.0 All All All
Operating System Novell Suse Linux Enterprise Server 12.0 sp1 All All
Operating System Novell Suse Linux Enterprise Software Development Kit 12.0 All All All
Operating System Novell Suse Linux Enterprise Software Development Kit 12.0 sp1 All All
Operating System Novell Suse Linux Enterprise Software Development Kit 12.0 All All All
Operating System Novell Suse Linux Enterprise Software Development Kit 12.0 sp1 All All
Operating System Novell Suse Linux Enterprise Workstation Extension 12.0 All All All
Operating System Novell Suse Linux Enterprise Workstation Extension 12.0 sp1 All All
Operating System Novell Suse Linux Enterprise Workstation Extension 12.0 All All All
Operating System Novell Suse Linux Enterprise Workstation Extension 12.0 sp1 All All
Operating System Opensuse Leap 42.1 All All All
Operating System Opensuse Leap 42.1 All All All
Operating System Opensuse Opensuse 13.2 All All All
Operating System Opensuse Opensuse 13.2 All All All
Operating System Oracle Linux 6 All All All
Operating System Oracle Linux 7 All All All
Operating System Oracle Linux 6 All All All
Operating System Oracle Linux 7 All All All
Operating System Oracle Solaris 10 All All All
Operating System Oracle Solaris 11.3 All All All
Operating System Oracle Solaris 10 All All All
Operating System Oracle Solaris 11.3 All All All
Application Suse Linux Enterprise Debuginfo 11 sp4 All All
Application Suse Linux Enterprise Debuginfo 11 sp4 All All
Operating System Suse Linux Enterprise Desktop 12 - All All
Operating System Suse Linux Enterprise Desktop 12.0 sp1 All All
Operating System Suse Linux Enterprise Server 12 - All All
Operating System Suse Linux Enterprise Server 12.0 sp1 All All
Operating System Suse Linux Enterprise Software Development Kit 11 sp4 All All
Operating System Suse Linux Enterprise Software Development Kit 12 - All All
Operating System Suse Linux Enterprise Software Development Kit 12.0 sp1 All All
Operating System Suse Linux Enterprise Software Development Kit 11 sp4 All All
Operating System Suse Linux Enterprise Workstation Extension 12 - All All
Operating System Suse Linux Enterprise Workstation Extension 12 sp1 All All
Application Suse Studio Onsite 1.3 All All All
Application Suse Studio Onsite 1.3 All All All

References

ReferenceSourceLinkTags
Mercurial Repository: p/graphicsmagick/code: ChangeLog@41876934e762 CONFIRM hg.code.sf.net Release Notes, Vendor Advisory
oss-security - Re: CVE Request: GraphicsMagick and ImageMagick popen() shell vulnerability via filename MLIST www.openwall.com Third Party Advisory
Debian -- Security Information -- DSA-3591-1 imagemagick DEBIAN www.debian.org Third Party Advisory
oss-security - CVE Request: GraphicsMagick and ImageMagick popen() shell vulnerability via filename MLIST www.openwall.com Release Notes
The Slackware Linux Project: Slackware Security Advisories SLACKWARE www.slackware.com
Debian -- Security Information -- DSA-3746-1 graphicsmagick DEBIAN www.debian.org
[security-announce] SUSE-SU-2016:1570-1: important: Security update for SUSE lists.opensuse.org Third Party Advisory
Mercurial Repository: p/graphicsmagick/code: changeset 14851:ae3928faa858 CONFIRM hg.code.sf.net
ImageMagick CVE-2016-5118 Remote Command Execution Vulnerability BID www.securityfocus.com
USN-2990-1: ImageMagick vulnerabilities | Ubuntu UBUNTU www.ubuntu.com Third Party Advisory
GraphicsMagick popen() File Open Feature Lets Remote Users Execute Arbitrary Commands on the Target System - SecurityTracker SECTRACK www.securitytracker.com Third Party Advisory
[security-announce] openSUSE-SU-2016:1522-1: important: Security update SUSE lists.opensuse.org Third Party Advisory
Add support for SanitizeString() method (40639d17) · Commits · repos / ImageMagick · GitLab CONFIRM git.imagemagick.org Vendor Advisory
[security-announce] openSUSE-SU-2016:1653-1: important: Security update SUSE lists.opensuse.org
Red Hat Customer Portal REDHAT access.redhat.com
Oracle Linux Bulletin - April 2016 CONFIRM www.oracle.com Third Party Advisory
[security-announce] SUSE-SU-2016:1614-1: important: Security update for SUSE lists.opensuse.org Third Party Advisory
ImageMagick popen() File Open Feature Lets Remote Users Execute Arbitrary Commands on the Target System - SecurityTracker SECTRACK www.securitytracker.com Third Party Advisory
[security-announce] openSUSE-SU-2016:1534-1: important: Security update SUSE lists.opensuse.org Third Party Advisory
[security-announce] SUSE-SU-2016:1610-1: important: Security update for SUSE lists.opensuse.org
[security-announce] openSUSE-SU-2016:1521-1: important: Security update SUSE lists.opensuse.org Third Party Advisory
Oracle Solaris Bulletin - July 2016 CONFIRM www.oracle.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report