VDB
CVE-2016-5118
CVE-2016-5118
PUBLISHED
Reported by mitre · Published June 10, 2016
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| imagemagick | Ubuntu:14.04:LTS | 8:6.7.7.10-6ubuntu3.1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| GraphicsMagick | GraphicsMagick | |
| n/a | n/a | * |
| wolfi | imagemagick | * |
| chainguard | imagemagick | * |
| alpine | imagemagick | 0 |
| chainguard | imagemagick-6 | * |
Timeline
- Jun 1, 2016 PoC Published
- Jun 10, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 5, 2026 Security Advisory (12 in total, the first dated here)
- Oct 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-5118
vulnetix vdb fixes CVE-2016-5118
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-5118/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2016:1237 vendor-advisoryx_refsource_REDHAT
- 1035985 vdb-entryx_refsource_SECTRACK
- SUSE-SU-2016:1570 vendor-advisoryx_refsource_SUSE
- x_refsource_CONFIRM
- openSUSE-SU-2016:1534 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2016:1521 vendor-advisoryx_refsource_SUSE
- 1035984 vdb-entryx_refsource_SECTRACK
- x_refsource_CONFIRM
- 90938 vdb-entryx_refsource_BID
- [oss-security] 20160529 Re: CVE Request: GraphicsMagick and ImageMagick popen() shell vulnerability via filename mailing-listx_refsource_MLIST
- USN-2990-1 vendor-advisoryx_refsource_UBUNTU
- DSA-3591 vendor-advisoryx_refsource_DEBIAN
- SSA:2016-152-01 vendor-advisoryx_refsource_SLACKWARE
- SUSE-SU-2016:1614 vendor-advisoryx_refsource_SUSE
- x_refsource_CONFIRM
- DSA-3746 vendor-advisoryx_refsource_DEBIAN
- [oss-security] 20160529 CVE Request: GraphicsMagick and ImageMagick popen() shell vulnerability via filename mailing-listx_refsource_MLIST
- SUSE-SU-2016:1610 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2016:1653 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2016:1522 vendor-advisoryx_refsource_SUSE
…and 2 more