ImageMagick: Remote code execution via filename
Published Jun 10, 2016
9.8
CRITICALCVSS 3.1
EPSS 49.98%
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.
Affected products
No data.
Configuration 1
- ≤ 1.3.23
Configuration 2
- 11
- 1.3
- 11
Configuration 6
- 12.04
- 14.04
- 15.10
- 16.04
Configuration 7
- 8.0
Configuration 8
- 12
- 12.0
- 12
- 12.0
- 12
- 12.0
- 12
- 12
Configuration 9
- < 7.0.1-7
No data.
Red Hat Enterprise Linux 6
ImageMagick-0:6.7.2.7-5.el6_8
Fixed · RHSA-2016:1237
Red Hat Enterprise Linux 7
ImageMagick-0:6.7.8.9-15.el7_2
Fixed · RHSA-2016:1237
Red Hat Enterprise Linux 5
ImageMagick
Affected
Red Hat OpenShift Enterprise 2
ImageMagick
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | ImageMagick-0:6.7.2.7-5.el6_8 | Fixed | RHSA-2016:1237 |
| Red Hat Enterprise Linux 7 | ImageMagick-0:6.7.8.9-15.el7_2 | Fixed | RHSA-2016:1237 |
| Red Hat Enterprise Linux 5 | ImageMagick | Affected | n/a |
| Red Hat OpenShift Enterprise 2 | ImageMagick | Affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (21 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 49.98% (0.49982) | 98.87th | v5 (v2026.06.15) |
| Jun 15, 2026 | 49.33% (0.49329) | 98.74th | v5 (v2026.06.15) |
| Jun 1, 2026 | 37.74% (0.37736) | 97.28th | v4 (v2025.03.14) |
| Feb 18, 2026 | 31.78% (0.31781) | 96.68th | v4 (v2025.03.14) |
| Dec 28, 2025 | 36.71% (0.36711) | 96.99th | v4 (v2025.03.14) |
| Jul 6, 2025 | 35.42% (0.35422) | 96.86th | v4 (v2025.03.14) |
| Jul 1, 2025 | 40.26% (0.40263) | 97.19th | v4 (v2025.03.14) |
| Mar 30, 2025 | 56.62% (0.56623) | 97.92th | v4 (v2025.03.14) |
| Mar 29, 2025 | 64.75% (0.64749) | 97.86th | v4 (v2025.03.14) |
| Mar 17, 2025 | 56.62% (0.56623) | 97.89th | v4 (v2025.03.14) |
| Feb 15, 2025 | 72.59% (0.72592) | 98.33th | v3 (v2023.03.01) |
| Aug 8, 2024 | 74.68% (0.74677) | 98.19th | v3 (v2023.03.01) |
| Jul 10, 2024 | 65.64% (0.65636) | 97.94th | v3 (v2023.03.01) |
| May 24, 2024 | 65.20% (0.65200) | 97.90th | v3 (v2023.03.01) |
| Apr 2, 2024 | 74.33% (0.74333) | 98.07th | v3 (v2023.03.01) |
| Jan 27, 2024 | 72.30% (0.72301) | 97.81th | v3 (v2023.03.01) |
| Aug 2, 2023 | 70.53% (0.70533) | 97.58th | v3 (v2023.03.01) |
| Mar 7, 2023 | 95.97% (0.95972) | 99.07th | v3 (v2023.03.01) |
| Mar 6, 2023 | 12.85% (0.12852) | 95.62th | v2 (v2022.01.01) |
| Apr 1, 2022 | 12.85% (0.12852) | 95.25th | v2 (v2022.01.01) |
| Feb 4, 2022 | 12.85% (0.12852) | 90.16th | v2 (v2022.01.01) |
References (26)
- http://git.imagemagick.org/repos/ImageMagick/commit/40639d173aa8c76b850d625c630b711fee4dcfb8 x_refsource_CONFIRMBroken LinkVendor Advisory
- http://hg.code.sf.net/p/graphicsmagick/code/file/41876934e762/ChangeLog x_refsource_CONFIRMRelease NotesVendor Advisory
- http://hg.code.sf.net/p/graphicsmagick/code/rev/ae3928faa858 x_refsource_CONFIRMBroken Link
- http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00008.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00009.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00011.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00021.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00030.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00032.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00047.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://www.debian.org/security/2016/dsa-3591 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.debian.org/security/2016/dsa-3746 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.openwall.com/lists/oss-security/2016/05/29/7 mailing-listx_refsource_MLISTMailing ListRelease Notes
- http://www.openwall.com/lists/oss-security/2016/05/30/1 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html x_refsource_CONFIRMThird Party Advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html x_refsource_CONFIRMThird Party Advisory
- http://www.securityfocus.com/bid/90938 vdb-entryx_refsource_BIDBroken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1035984 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1035985 vdb-entryx_refsource_SECTRACKBroken LinkThird Party AdvisoryVDB Entry
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.397749 vendor-advisoryx_refsource_SLACKWAREThird Party Advisory
- http://www.ubuntu.com/usn/USN-2990-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://access.redhat.com/errata/RHSA-2016:1237 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2016-5118 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1340814 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2016-5118
- https://www.cve.org/CVERecord?id=CVE-2016-5118
Change history (0)
No recorded changes yet.