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.
CVE-2016-5118
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2022-05-13. NVD baseline CVSS 9.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- 69(Track*)EG Risk 69/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation50% × 40%Automatability30% × 15%Action: Watch closely — could escalate to Attend. - EPSS PROB
- 50%
- EPSS %ILE
- 99%
- KEV
- Not listed
Published
June 10, 2016
Last Modified
June 17, 2026
Advisory Details (2)
Auto-updated Sep 23, 2026Mercurial Repository: p/graphicsmagick/code: changeset 14851:ae3928faa858
http://hg.code.sf.net/p/graphicsmagick/code/rev/ae3928faa858Mercurial Repository: p/graphicsmagick/code: ChangeLog@41876934e762
http://hg.code.sf.net/p/graphicsmagick/code/file/41876934e762/ChangeLogPatch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | perlmagick (8:6.8.9.9-7ubuntu5.1) @ xenial | 2026-05-20 | ubuntu |
| redhat | ImageMagick-0:6.7.8.9-15.el7_2 | 2016-06-16 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(14 across 8 ecosystems)
Debian:11(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| graphicsmagick | — | 1.3.24-1 | — |
| imagemagick | — | 8:6.8.9.9-7.1 | — |
Debian:12(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| graphicsmagick | — | 1.3.24-1 | — |
| imagemagick | — | 8:6.8.9.9-7.1 | — |
Debian:13(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| graphicsmagick | — | 1.3.24-1 | — |
| imagemagick | — | 8:6.8.9.9-7.1 | — |
Debian:14(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| graphicsmagick | — | 1.3.24-1 | — |
| imagemagick | — | 8:6.8.9.9-7.1 | — |
Debian:7(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| graphicsmagick | 1.3.16-1.1, 1.3.16-1.1+deb7u1 | 1.3.16-1.1+deb7u2 | — |
| imagemagick | 8:6.7.7.10-5, 8:6.7.7.10-5+deb7u2, 8:6.7.7.10-5+deb7u3, 8:6.7.7.10-5+deb7u4, 8:6.7.7.10-5+deb7u5 | 8:6.7.7.10-5+deb7u6 | — |
Debian:8(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| graphicsmagick | 1.3.20-3+deb8u1 | 1.3.20-3+deb8u2 | — |
| imagemagick | 8:6.8.9.9-5, 8:6.8.9.9-5+deb8u1, 8:6.8.9.9-5+deb8u2 | 8:6.8.9.9-5+deb8u3 | — |
Alpine:v3.2(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| imagemagick | 6.4.9.10-r0 ... 6.9.1.2-r2 (119 versions) | 6.9.6.8-r0 | — |
Alpine:v3.3(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| imagemagick | 6.4.9.10-r0 ... 6.9.3.4-r0 (130 versions) | 6.9.6.8-r0 | — |
All Vendor Advisories
(2)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 4× in last 7d / 16× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 138 total refreshes for this CVE.
- 2026-09-24 13:59 UTCEPSS rescore
- 2026-09-23 13:41 UTCEPSS rescore
- 2026-09-19 15:35 UTCEPSS rescore
- 2026-09-18 19:22 UTCEPSS rescore
- 2026-09-17 19:21 UTCEPSS rescore
- 2026-09-15 03:05 UTCEPSS rescore
- 2026-09-14 17:14 UTCOSV refresh
- 2026-09-12 14:55 UTCEPSS rescore
- 2026-09-10 09:26 UTCEPSS rescore
- 2026-09-04 13:56 UTCEPSS rescore
- 2026-09-02 14:07 UTCEPSS rescore
- 2026-09-01 03:31 UTCEPSS rescore
- 2026-08-30 19:12 UTCEPSS rescore
- 2026-08-27 14:20 UTCEPSS rescore
- 2026-08-26 16:46 UTCOSV refresh
- 2026-08-26 14:41 UTCEPSS rescore
- 2026-08-25 13:44 UTCEPSS rescore
- 2026-08-21 23:44 UTCEPSS rescore
- 2026-08-19 16:59 UTCEPSS rescore
- 2026-08-18 13:43 UTCEPSS rescore
- 2026-08-17 13:42 UTCEPSS rescore
- 2026-08-16 14:51 UTCEPSS rescore
- 2026-08-16 02:09 UTCEPSS rescore
- 2026-08-15 01:25 UTCEPSS rescore
- 2026-08-12 13:46 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-11 13:36 UTCEPSS rescore
- 2026-08-10 06:40 UTCOSV refresh
- 2026-08-09 13:42 UTCEPSS rescore
- 2026-08-06 13:42 UTCEPSS rescore
- 2026-08-05 19:12 UTCEPSS rescore
- 2026-08-01 04:11 UTCEPSS rescore
- 2026-07-30 16:23 UTCEPSS rescore
- 2026-07-30 01:26 UTCEPSS rescore
- 2026-07-28 15:31 UTCEPSS rescore
- 2026-07-26 14:50 UTCEPSS rescore
- 2026-07-25 14:13 UTCEPSS rescore
- 2026-07-25 07:11 UTCOSV refresh
- 2026-07-23 01:23 UTCEG score recompute
- 2026-07-22 22:02 UTCEG score recompute
- 2026-07-22 14:04 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-20 17:03 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-13 22:26 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-11 08:23 UTCEPSS rescore
- 2026-07-09 19:05 UTCEPSS rescore
- 2026-07-08 02:05 UTCOSV refresh
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-19 13:55 UTCOSV refresh
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-11 13:57 UTCEPSS rescore
- 2026-06-10 22:15 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
Related CVEs(same product + same vendor)
Same product
10 shownDebian:7:graphicsmagick
- CVE-2016-5239EG 9.8CRITICAL
- CVE-2016-3718NVD 5.5EG 9.0 KEVEPSS p100CRITICAL
- CVE-2016-3715NVD 5.5EG 9.0 KEVEPSS p99CRITICAL
- CVE-2016-3714NVD 8.4EG 9.0 KEVEPSS p100CRITICAL
- CVE-2017-9098EG 7.5HIGH
- CVE-2017-15277EG 6.5EPSS p97MEDIUM
- CVE-2017-13134EG 6.5MEDIUM
- CVE-2016-3717EG 5.5EPSS p97MEDIUM
- CVE-2016-3716EG 3.3EPSS p96LOW
- CVE-2017-11643EG 9.8CRITICAL
Same vendor
10 shownredhat:RHSA-2016:1237 · ubuntu:USN-2990-1
- CVE-2016-5239EG 9.8CRITICAL
- CVE-2016-3718NVD 5.5EG 9.0 KEVEPSS p100CRITICAL
- CVE-2016-3715NVD 5.5EG 9.0 KEVEPSS p99CRITICAL
- CVE-2016-3714NVD 8.4EG 9.0 KEVEPSS p100CRITICAL
- CVE-2015-8895EG 7.5EPSS p91HIGH
- CVE-2015-8896EG 6.5MEDIUM
- CVE-2015-8898EG 5.5MEDIUM
- CVE-2015-8897EG 5.5MEDIUM
- CVE-2016-5240EG 5.5MEDIUM
- CVE-2016-3717EG 5.5EPSS p97MEDIUM
Frequently asked(5)
What is CVE-2016-5118?
When was CVE-2016-5118 disclosed?
Is CVE-2016-5118 actively exploited?
What is the CVSS score of CVE-2016-5118?
How do I remediate CVE-2016-5118?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2016-5118
Is Your Infrastructure Affected by CVE-2016-5118?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.