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 |…
Noroxi assessment
Priority: Plan (action score 54/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 49.9% (FIRST EPSS); higher than 98.9% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: imagemagick (Alpine:v3.2) 6.9.6.8-r0; graphicsmagick (Debian:12) 1.3.24-1; imagemagick (Debian:12) 8:6.8.9.9-7.1.
Add it to your regular patch cycle. Upgrade to imagemagick (Alpine:v3.2) 6.9.6.8-r0; graphicsmagick (Debian:12) 1.3.24-1; imagemagick (Debian:12) 8:6.8.9.9-7.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- Jun 10, 2016
- Updated
- Jun 16, 2026
- EPSS
- 49.9% · 98th percentile
- CWE
- —
Report tools
Action score
54
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 15 / 30 · 49.9%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| graphicsmagick | graphicsmagick | cpe:2.3:a:graphicsmagick:graphicsmagick |
| suse | linux enterprise debuginfo | cpe:2.3:a:suse:linux_enterprise_debuginfo |
| suse | studio onsite | cpe:2.3:a:suse:studio_onsite |
| suse | linux enterprise software development kit | cpe:2.3:o:suse:linux_enterprise_software_development_kit |
| oracle | solaris | cpe:2.3:o:oracle:solaris |
| oracle | linux | cpe:2.3:o:oracle:linux |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
| opensuse | opensuse | cpe:2.3:o:opensuse:opensuse |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| suse | linux enterprise desktop | cpe:2.3:o:suse:linux_enterprise_desktop |
| suse | linux enterprise server | cpe:2.3:o:suse:linux_enterprise_server |
and 2 more
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux12.04
- canonical ubuntu linux14.04
- canonical ubuntu linux15.10
- canonical ubuntu linux16.04
- debian debian linux8.0
- graphicsmagick graphicsmagickup to 1.3.23 inclusive
- imagemagick imagemagickbefore 7.0.1-7
- opensuse leap42.1
+12 more rows
- opensuse opensuse13.2
- oracle linux6
- oracle linux7
- oracle solaris10
- oracle solaris11.3
- suse linux enterprise debuginfo11
- suse linux enterprise desktop12
- suse linux enterprise desktop12.0
- suse linux enterprise server12
- suse linux enterprise server12.0
- suse linux enterprise software development kit11
- suse linux enterprise software development kit12
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.2 | imagemagick | before 6.9.6.8-r0 | 6.9.6.8-r0 |
| Debian:12 | graphicsmagick | before 1.3.24-1 | 1.3.24-1 |
| Debian:12 | imagemagick | before 8:6.8.9.9-7.1 | 8:6.8.9.9-7.1 |
| Debian:7 | graphicsmagick | before 1.3.16-1.1+deb7u2 | 1.3.16-1.1+deb7u2 |
| Debian:7 | imagemagick | before 8:6.7.7.10-5+deb7u6 | 8:6.7.7.10-5+deb7u6 |
| Debian:8 | graphicsmagick | before 1.3.20-3+deb8u2 | 1.3.20-3+deb8u2 |
| Debian:8 | imagemagick | before 8:6.8.9.9-5+deb8u3 | 8:6.8.9.9-5+deb8u3 |
| openSUSE:Tumbleweed | GraphicsMagick | before 1.3.25-1.1 | 1.3.25-1.1 |
| openSUSE:Tumbleweed | ImageMagick | before 6.9.6.6-1.1 | 6.9.6.6-1.1 |
| Red Hat:enterprise_linux:6::client | ImageMagick | before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
| Red Hat:enterprise_linux:6::client | ImageMagick-c++ | before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
| Red Hat:enterprise_linux:6::client | ImageMagick-c++-devel | before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
| Red Hat:enterprise_linux:6::client | ImageMagick-debuginfo | before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
| Red Hat:enterprise_linux:6::client | ImageMagick-devel | before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
| Red Hat:enterprise_linux:6::client | ImageMagick-doc | before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
| Red Hat:enterprise_linux:6::client | ImageMagick-perl | before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
| Red Hat:enterprise_linux:7::client | ImageMagick | before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
| Red Hat:enterprise_linux:7::client | ImageMagick-c++ | before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
| Red Hat:enterprise_linux:7::client | ImageMagick-c++-devel | before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
| Red Hat:enterprise_linux:7::client | ImageMagick-debuginfo | before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
| Red Hat:enterprise_linux:7::client | ImageMagick-devel | before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
| Red Hat:enterprise_linux:7::client | ImageMagick-doc | before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
| Red Hat:enterprise_linux:7::client | ImageMagick-perl | before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
| SUSE:Linux Enterprise Desktop 12 | ImageMagick | before 6.8.8.1-25.1 | 6.8.8.1-25.1 |
+2
Same product
graphicsmagick: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-14103The ReadJNGImage and ReadOneJNGImage functions in coders/png.c in GraphicsMagick 1.3.26 do not properly manage image pointers after certain…44Plan
- CVE-2017-12936The ReadWMFImage function in coders/wmf.c in GraphicsMagick 1.3.26 has a use-after-free issue for data associated with exception reporting.43Plan
- CVE-2017-11403The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 has an out-of-order CloseBlob call, resulting in a use-after-free via a…43Plan
Published before and after this one in the same product
- ← EarlierCVE-2012-3438Aug 7, 2012 · The Magick_png_malloc function in coders/png.c in GraphicsMagick 6.7.8-6 does not use the proper variable type for the allocation size…18Monitor
- ← EarlierCVE-2013-4589Nov 23, 2013 · The ExportAlphaQuantumType function in export.c in GraphicsMagick before 1.3.18 might allow remote attackers to cause a denial of service…18Monitor
- Later →CVE-2015-8808Jul 13, 2016 · The DecodeImage function in coders/gif.c in GraphicsMagick 1.3.18 allows remote attackers to cause a denial of service (uninitialized…22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:imagemagick | 6.9.6.8-r0 · Alpine:v3.2 | Package registry (OSV) |
| debian:graphicsmagick | 1.3.24-1 · Debian:12 | Package registry (OSV) |
| debian:imagemagick | 8:6.8.9.9-7.1 · Debian:12 | Package registry (OSV) |
| opensuse:GraphicsMagick | 1.3.25-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:ImageMagick | 6.9.6.6-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:ImageMagick | 0:6.7.2.7-5.el6_8 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:ImageMagick-c++ | 0:6.7.2.7-5.el6_8 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:ImageMagick-c++-devel | 0:6.7.2.7-5.el6_8 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:ImageMagick-debuginfo | 0:6.7.2.7-5.el6_8 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:ImageMagick-devel | 0:6.7.2.7-5.el6_8 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:ImageMagick-doc | 0:6.7.2.7-5.el6_8 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:ImageMagick-perl | 0:6.7.2.7-5.el6_8 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| suse:GraphicsMagick | 1.2.5-4.38.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4 | Package registry (OSV) |
| suse:ImageMagick | 6.8.8.1-25.1 · SUSE:Linux Enterprise Desktop 12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
—
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- hg.code.sf.net/p/graphicsmagick/code/file/41876934e762/ChangeLog
- hg.code.sf.net/p/graphicsmagick/code/rev/ae3928faa858
- lists.opensuse.org/opensuse-security-announce/2016-06/msg00008.html
- lists.opensuse.org/opensuse-security-announce/2016-06/msg00009.html
- lists.opensuse.org/opensuse-security-announce/2016-06/msg00011.html
- lists.opensuse.org/opensuse-security-announce/2016-06/msg00021.html
- lists.opensuse.org/opensuse-security-announce/2016-06/msg00030.html
- lists.opensuse.org/opensuse-security-announce/2016-06/msg00032.html
- lists.opensuse.org/opensuse-security-announce/2016-06/msg00047.html
- www.debian.org/security/2016/dsa-3591
- www.debian.org/security/2016/dsa-3746
- www.openwall.com/lists/oss-security/2016/05/29/7
- www.openwall.com/lists/oss-security/2016/05/30/1
- www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- www.securityfocus.com/bid/90938
- www.securitytracker.com/id/1035984
- www.securitytracker.com/id/1035985
- www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.397749
Vendor advisories and official records. Exploit/PoC links are deliberately left out.