Vulnerabilities · 2016 · Graphicsmagick
CVE-2016-5118
Graphicsmagick vulnerability
The 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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Graphicsmagick, Linux Enterprise Debuginfo, Studio Onsite, Linux Enterprise Software Development Kit, Solaris, Linux, Leap, Opensuse, Ubuntu Linux, Debian Linux and more. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Graphicsmagick runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- git.imagemagick.org/repos/ImageMagick/commit/40639d173aa8c76b850d625c630b711fee4dcfb8 · Vendor Advisory
- hg.code.sf.net/p/graphicsmagick/code/file/41876934e762/ChangeLog · Vendor Advisory
- lists.opensuse.org/opensuse-security-announce/2016-06/msg00008.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2016-06/msg00009.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2016-06/msg00011.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2016-06/msg00021.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2016-06/msg00030.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2016-06/msg00032.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2016-5118
- cve.org/CVERecord?id=CVE-2016-5118
More vulnerabilities in Graphicsmagick products
CVE-2025-32460CVE-2025-27796CVE-2025-27795CVE-2022-1270CVE-2020-21679CVE-2020-12672CVE-2020-10938CVE-2019-19953All 121
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.