CVE-2016-5118 in Canonical Ubuntu Linux and 13 more products
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.
Affects 14 products from 7 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 12.04 14.04 15.10 16.04 |
| Debian | Debian Linux | 8.0 |
| Graphicsmagick | Graphicsmagick | ≤ 1.3.23 |
| Imagemagick | Imagemagick | < 7.0.1-7 |
| Opensuse | Leap | 42.1 |
| Opensuse | Opensuse | 13.2 |
| Oracle | Linux | 6 7 |
| Oracle | Solaris | 10 11.3 |
| Suse | Linux Enterprise Software Development Kit | 11 12 12.0 |
| Suse | Linux Enterprise Server | 12 12.0 |
| Suse | Linux Enterprise Desktop | 12 12.0 |
| Suse | Linux Enterprise Workstation Extension | 12 |
| Suse | Studio Onsite | 1.3 |
| Suse | Linux Enterprise Debuginfo | 11 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2016-5118 |
|---|---|
| BreachSpider ID | BS-2016-GLOBAL-256505-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2016-06-10 |
| Last modified | 2026-06-17 |
| Source | NVD |
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2016. A critical vulnerability affects Canonical systems (CVE-2016-5118). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Questions
What is CVE-2016-5118?
This vulnerability was disclosed in 2016. A critical vulnerability affects Canonical systems (CVE-2016-5118). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2016-5118?
CVE-2016-5118 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 50.0%.
Is CVE-2016-5118 actively exploited?
No confirmed active exploitation of CVE-2016-5118 as of 2026-09-25.
How do I remediate CVE-2016-5118?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2016-5118?
CVE-2016-5118 affects Canonical Ubuntu Linux; Debian Debian Linux; Graphicsmagick Graphicsmagick; Imagemagick Imagemagick; Opensuse Leap, Opensuse; Oracle Linux, Solaris; Suse Linux Enterprise Software Development Kit, Linux Enterprise Server (plus 4 more products).
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.