CVE-2017-18271 json
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, whi…
published 2018-05-18 8 y ago modified 2026-06-17 4 mo ago also EUVD-2017-9398
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.9.34+dfsg-3
debian advisories DEBIAN-CVE-2017-18271
- imagemagick Ubuntu 14.04 LTS 8:6.7.7.10-6ubuntu3.11
- imagemagick Ubuntu 16.04 LTS 8:6.8.9.9-7ubuntu5.11
- imagemagick Ubuntu 18.04 LTS 8:6.9.7.4+dfsg-16ubuntu6.2
ubuntu advisories UBUNTU-CVE-2017-18271
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ImageMagick RHEL 7 6.9.10.68-3.el7
- emacs RHEL 7 1:24.3-23.el7
- emacs-el RHEL 7 1:24.3-23.el7
- inkscape RHEL 7 0.92.2-3.el7
- autotrace RHEL 7 0.31.1-38.el7
- emacs-nox RHEL 7 1:24.3-23.el7
- emacs-common RHEL 7 1:24.3-23.el7
- inkscape-view RHEL 7 0.92.2-3.el7
red hat advisories RHSA-2020:1180
- ImageMagick SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 6.4.3.6-78.56.1
- GraphicsMagick Studio Onsite 1.3, SLE Software Development Kit 11 SP4 1.2.5-78.61.1
- ImageMagick SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 +2 more 6.8.8.1-71.65.1
suse advisories SUSE-SU-2018:2465-1SUSE-SU-2018:2390-1SUSE-SU-2018:1851-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-18271 updated cvss 3.3
ImageMagick: infinite loop in ReadMIFFImage function in coders/miff.c
-
Red Hat Enterprise Linux 5 ImageMagickaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perlaffected: no fix available
-
Red Hat Enterprise Linux 8 ImageMagickaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client (v. 7) emacs 24.3-23.el7, emacs-nox 24.3-23.el7, inkscape 0.92.2-3.el7, emacs-common 24.3-23.el7, ImageMagick 6.9.10.68-3.el7, emacs-filesystem 24.3-23.el7, +1 more Red Hat Enterprise Linux Client Optional (v. 7) emacs-el 24.3-23.el7, autotrace 0.31.1-38.el7, emacs-terminal 24.3-23.el7, inkscape-view 0.92.2-3.el7, ImageMagick-perl 6.9.10.68-3.el7 Red Hat Enterprise Linux ComputeNode (v. 7) emacs 24.3-23.el7, emacs-filesystem 24.3-23.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) emacs 24.3-23.el7, emacs-el 24.3-23.el7, emacs-nox 24.3-23.el7, inkscape 0.92.2-3.el7, autotrace 0.31.1-38.el7, emacs-common 24.3-23.el7, +5 more Red Hat Enterprise Linux Server (v. 7) emacs 24.3-23.el7, emacs-nox 24.3-23.el7, inkscape 0.92.2-3.el7, emacs-common 24.3-23.el7, ImageMagick 6.9.10.68-3.el7, emacs-filesystem 24.3-23.el7, +2 more Red Hat Enterprise Linux Server Optional (v. 7) emacs-el 24.3-23.el7, inkscape 0.92.2-3.el7, autotrace 0.31.1-38.el7, emacs-terminal 24.3-23.el7, inkscape-view 0.92.2-3.el7, ImageMagick-c++ 6.9.10.68-3.el7fixed: vendor fix RHSA-2020:1180
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) emacs 24.3-23.el7, emacs-nox 24.3-23.el7, inkscape 0.92.2-3.el7, emacs-common 24.3-23.el7, ImageMagick 6.9.10.68-3.el7, emacs-filesystem 24.3-23.el7, +2 more Red Hat Enterprise Linux Workstation Optional (v. 7) emacs-el 24.3-23.el7, autotrace 0.31.1-38.el7, emacs-terminal 24.3-23.el7, inkscape-view 0.92.2-3.el7
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.15% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 7.1 | AV:N/AC:M/Au:N/C:N/I:N/A:C |
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
References
-
usn.ubuntu.com
/3681-1/
vendor-advisory, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/05/msg00012.html
mailing-list, third-party-advisory
-
github.com
/ImageMagick/ImageMagick/issues/911
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/05/msg00015.html
mailing-list
-
lists.debian.org
/debian-lts-announce/2020/09/msg00007.html
mailing-list
Sources
- CVE List CVE-2017-18271
- NVD CVE-2017-18271
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.