CVE-2016-5118

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.

Published: 2016-06-10 Last update: 2026-05-06 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2016-5118 is rated High Risk (78.2/100): CVSS Critical severity, with high exploitation likelihood (EPSS 37.74%, 97th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. EPSS rose +5.95% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2016-5118

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-01 31.78% 37.74% +5.95%
2 2026-02-18 36.71% 31.78% -4.93%
3 2025-12-28 36.71%

Full EPSS history (18 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2016-5118

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]
10.0 2.0 HIGH
AV:N/AC:L/Au:N/C:C/I:C/A:C Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:C)
Complete confidentiality impact.
Integrity impact (I:C)
Complete integrity impact.
Availability impact (A:C)
Complete availability impact.
10.0 10.0 [email protected]

Weakness enumeration for CVE-2016-5118

OS Trackers for CVE-2016-5118

vendor priority summary link
debian not yet assigned CVE-2016-5118 not yet assigned priority: Debian including 2 source packages (graphicsmagick, imagemagick), 10 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 10. https://security-tracker.debian.org/tracker/CVE-2016-5118
redhat high https://access.redhat.com/security/cve/CVE-2016-5118
suse medium CVE-2016-5118 severity moderate: SUSE including 170 source package names (GraphicsMagick-1.2.5-4.38.1, GraphicsMagick-1.3.25-1.1, …), 266 product×package rows across 62 product lines (SUSE Liberty Linux 7, SUSE Linux Enterprise Desktop 12, … (62 product lines)): Fixed 266. https://www.suse.com/security/cve/CVE-2016-5118/
ubuntu medium CVE-2016-5118 medium priority: Ubuntu including 2 source packages (graphicsmagick, imagemagick), 20 status rows across 10 suites (artful, bionic, cosmic, precise, trusty, upstream, wily, xenial, yakkety, zesty): released 11, ignored 5, needs-triage 2, not-affected 2. https://ubuntu.com/security/CVE-2016-5118

Affected software / configurations for CVE-2016-5118

Vendor Product Version Raw CPE
graphicsmagick graphicsmagick <= 1.3.23 cpe:2.3:a:graphicsmagick:graphicsmagick:*:*:*:*:*:*:*:*
suse linux_enterprise_debuginfo 11 cpe:2.3:a:suse:linux_enterprise_debuginfo:11:sp4:*:*:*:*:*:*
suse studio_onsite 1.3 cpe:2.3:a:suse:studio_onsite:1.3:*:*:*:*:*:*:*
suse linux_enterprise_software_development_kit 11 cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp4:*:*:*:*:*:*
oracle solaris 10 cpe:2.3:o:oracle:solaris:10:*:*:*:*:*:*:*
oracle solaris 11.3 cpe:2.3:o:oracle:solaris:11.3:*:*:*:*:*:*:*
oracle linux 6 cpe:2.3:o:oracle:linux:6:*:*:*:*:*:*:*
oracle linux 7 cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:*
opensuse leap 42.1 cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*
opensuse opensuse 13.2 cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*
canonical ubuntu_linux 12.04 cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 14.04 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 15.10 cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
suse linux_enterprise_desktop 12 cpe:2.3:o:suse:linux_enterprise_desktop:12:-:*:*:*:*:*:*
suse linux_enterprise_desktop 12.0 cpe:2.3:o:suse:linux_enterprise_desktop:12.0:sp1:*:*:*:*:*:*
suse linux_enterprise_server 12 cpe:2.3:o:suse:linux_enterprise_server:12:-:*:*:*:*:*:*
suse linux_enterprise_server 12.0 cpe:2.3:o:suse:linux_enterprise_server:12.0:sp1:*:*:*:*:*:*
suse linux_enterprise_software_development_kit 12 cpe:2.3:o:suse:linux_enterprise_software_development_kit:12:-:*:*:*:*:*:*
suse linux_enterprise_software_development_kit 12.0 cpe:2.3:o:suse:linux_enterprise_software_development_kit:12.0:sp1:*:*:*:*:*:*
suse linux_enterprise_workstation_extension 12 cpe:2.3:o:suse:linux_enterprise_workstation_extension:12:-:*:*:*:*:*:*
suse linux_enterprise_workstation_extension 12 cpe:2.3:o:suse:linux_enterprise_workstation_extension:12:sp1:*:*:*:*:*:*
imagemagick imagemagick < 7.0.1-7 cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*

References for CVE-2016-5118

URL Tags
http://git.imagemagick.org/repos/ImageMagick/commit/40639d173aa8c76b850d625c630b711fee4dcfb8 Broken Link Vendor Advisory
http://hg.code.sf.net/p/graphicsmagick/code/file/41876934e762/ChangeLog Release Notes Vendor Advisory
http://hg.code.sf.net/p/graphicsmagick/code/rev/ae3928faa858 Broken Link
http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00008.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00009.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00011.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00021.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00030.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00032.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00047.html Mailing List Third Party Advisory
http://www.debian.org/security/2016/dsa-3591 Third Party Advisory
http://www.debian.org/security/2016/dsa-3746 Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/05/29/7 Mailing List Release Notes
http://www.openwall.com/lists/oss-security/2016/05/30/1 Mailing List Third Party Advisory
http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html Third Party Advisory
http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html Third Party Advisory
http://www.securityfocus.com/bid/90938 Broken Link Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1035984 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1035985 Broken Link Third Party Advisory VDB Entry
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.397749 Third Party Advisory
http://www.ubuntu.com/usn/USN-2990-1 Third Party Advisory
https://access.redhat.com/errata/RHSA-2016:1237 Third Party Advisory
cvelogic Threat Intelligence