ImageMagick: infinite loop in ReadMIFFImage function in coders/miff.c
Published May 18, 2018
6.5
MEDIUMCVSS 3.0
EPSS 2.21%
Description
In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-22, an infinite loop vulnerability was found in the function ReadMIFFImage in coders/miff.c, which allows attackers to cause a denial of service (CPU exhaustion) via a crafted MIFF image file.
Affected products
No data.
Configuration 1
- 7.0.7-16
Configuration 2
- 14.04
- 16.04
- 17.10
- 18.04
Configuration 3
- 7.0
No data.
Red Hat Enterprise Linux 7
ImageMagick-0:6.9.10.68-3.el7
Fixed · RHSA-2020:1180
Red Hat Enterprise Linux 7
autotrace-0:0.31.1-38.el7
Fixed · RHSA-2020:1180
Red Hat Enterprise Linux 7
emacs-1:24.3-23.el7
Fixed · RHSA-2020:1180
Red Hat Enterprise Linux 7
inkscape-0:0.92.2-3.el7
Fixed · RHSA-2020:1180
Red Hat Enterprise Linux 5
ImageMagick
Will not fix
Red Hat Enterprise Linux 6
ImageMagick
Affected
Red Hat Enterprise Linux 8
ImageMagick
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | ImageMagick-0:6.9.10.68-3.el7 | Fixed | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | autotrace-0:0.31.1-38.el7 | Fixed | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-1:24.3-23.el7 | Fixed | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | inkscape-0:0.92.2-3.el7 | Fixed | RHSA-2020:1180 |
| Red Hat Enterprise Linux 5 | ImageMagick | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | ImageMagick | Affected | n/a |
| Red Hat Enterprise Linux 8 | ImageMagick | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:N/I:N/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
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.21% (0.02206) | 81.93th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.24% (0.02241) | 80.49th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.10% (0.00100) | 25.32th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.41% (0.00407) | 74.64th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.41% (0.00407) | 73.13th | v3 (v2023.03.01) |
| Dec 12, 2023 | 0.41% (0.00407) | 70.91th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.44% (0.00442) | 71.70th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.32% (0.00318) | 65.71th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.55% (0.01550) | 33.66th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.55% (0.01550) | 0.00th | v1 |
References (9)
- https://access.redhat.com/security/cve/CVE-2017-18271 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1581486 Issue Tracking
- https://github.com/ImageMagick/ImageMagick/issues/911 x_refsource_CONFIRMThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/05/msg00012.html mailing-listx_refsource_MLISTThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html mailing-listx_refsource_MLIST
- https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2017-18271
- https://usn.ubuntu.com/3681-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2017-18271
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2017-18271 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1581486 | Issue Tracking | |
| https://github.com/ImageMagick/ImageMagick/issues/911 | x_refsource_CONFIRMThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2018/05/msg00012.html | mailing-listx_refsource_MLISTThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html | mailing-listx_refsource_MLIST | |
| https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html | mailing-listx_refsource_MLIST | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-18271 | ||
| https://usn.ubuntu.com/3681-1/ | vendor-advisoryx_refsource_UBUNTUThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2017-18271 |
Change history (0)
No recorded changes yet.