Medium severity · published Sep 7, 2017
CVE-2017-14173
In the function ReadTXTImage() in coders/txt.c in ImageMagick 7.0.6-10, an integer overflow might occur for the addition operation "GetQuantumRange(depth)+1" when "depth" is…
6.5
CVSS
1.9%
EPSS
No
On KEV
Description
In the function ReadTXTImage() in coders/txt.c in ImageMagick 7.0.6-10, an integer overflow might occur for the addition operation "GetQuantumRange(depth)+1" when "depth" is large, producing a smaller value than expected. As a result, an infinite loop would occur for a crafted TXT file that claims a very large "max_value" value.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.9% · higher than 80% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
8.0; 9.0 · source: NVD
IM
Imagemagick · Imagemagick
7.0.6-10 · source: NVD
UL
Ubuntu Linux · Canonical
14.04; 16.04; 17.10; 18.04 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-14173
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-14173
Patch
https://github.com/ImageMagick/ImageMagick/commit/50f54462076648ac2e36c3f58f4dadd4babbf1c9
Exploit
https://github.com/ImageMagick/ImageMagick/issues/713
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html
Third Party Advisory
https://security.gentoo.org/glsa/201711-07
Third Party Advisory
https://usn.ubuntu.com/3681-1/
More from Ubuntu Linux
9.8
CVE-2020-11651
SaltStack Salt Authentication Bypass Vulnerability
9.8
CVE-2020-7247
OpenSMTPD Remote Code Execution Vulnerability
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2019-16928
Exim Out-of-bounds Write Vulnerability
9.8
CVE-2019-10149
Exim Mail Transfer Agent (MTA) Improper Input Validation
