cve.bz

CVE-2017-18273 Infinite Loop

6.5 mediumExploit referenceEPSS 2.3%

Medium (6.5). EPSS 2.3% estimated probability of exploitation activity in the next 30 days.

On this page
In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-22, an infinite loop vulnerability was found in the function ReadTXTImage in coders/txt.c, which allows attackers to cause a denial of service (CPU exhaustion) via a crafted image file that is mishandled in a GetImageIndexInList call.

Severity

CVSS 3.0

6.5 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-18273 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-18273?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-18273?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-18273 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
imagemagick:imagemagick7.0.7-16
debian:debian_linux7.0
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10
canonical:ubuntu_linux18.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7imagemagick8:6.7.7.10-5+deb7u22DLA-1381-1
Debian8imagemagick8:6.8.9.9-5+deb8u16DLA-1785-1
Debian9imagemagick8:6.9.7.4+dfsg-11+deb9u10DLA-2366-1
Debian12, 13, 14imagemagick8:6.9.9.34+dfsg-3DEBIAN-CVE-2017-18273
Ubuntu14.04:LTSimagemagick8:6.7.7.10-6ubuntu3.11UBUNTU-CVE-2017-18273 USN-3681-1
Ubuntu16.04:LTSimagemagick8:6.8.9.9-7ubuntu5.11UBUNTU-CVE-2017-18273 USN-3681-1
Ubuntu18.04:LTSimagemagick8:6.9.7.4+dfsg-16ubuntu6.2UBUNTU-CVE-2017-18273 USN-3681-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreImageMagick, ImageMagick-c++, ImageMagick-doc and 4 more0:6.9.10.68-3.el7RHSA-2020:1180
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreautotrace, autotrace-devel, autotrace-debuginfo0:0.31.1-38.el7RHSA-2020:1180
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreemacs, emacs-el, emacs-nox and 4 more1:24.3-23.el7RHSA-2020:1180
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreinkscape, inkscape-docs, inkscape-view and 1 more0:0.92.2-3.el7RHSA-2020:1180

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7autotrace-0:0.31.1-38.el7Fixed 2020-03-31RHSA-2020:1180
Red Hat Enterprise Linux 7emacs-1:24.3-23.el7Fixed 2020-03-31RHSA-2020:1180
Red Hat Enterprise Linux 7ImageMagick-0:6.9.10.68-3.el7Fixed 2020-03-31RHSA-2020:1180
Red Hat Enterprise Linux 7inkscape-0:0.92.2-3.el7Fixed 2020-03-31RHSA-2020:1180
Red Hat Enterprise Linux 5ImageMagickWill not fix
Red Hat Enterprise Linux 6ImageMagickAffected
Red Hat Enterprise Linux 8ImageMagickWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-18273.

References

Check your stackJSON