PT-2017-4131 · Imagemagick+2 · Imagemagick+2

Shqking

·

Published

2017-08-31

·

Updated

2020-10-15

·

CVE-2017-14173

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions ImageMagick versions 7.0.6 through 7.0.10
Description The issue is related to an integer overflow in the ReadTXTImage() function of the coders/txt.c component in ImageMagick. This overflow can occur when a large depth value is used in the GetQuantumRange(depth)+1 operation, resulting in a smaller value than expected. As a consequence, an infinite loop can be triggered by a crafted TXT file that claims a very large max value. This allows a remote attacker to cause a denial of service.
Recommendations For ImageMagick versions 7.0.6 through 7.0.10, consider disabling the ReadTXTImage() function until a patch is available to prevent potential exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Integer Overflow

Infinite Loop

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2021-03374
CVE-2017-14173
DLA-1131-1
DLA-1785-1
DLA-2366-1
OPENSUSE-SU-2017_3420-1
SUSE-SU-2017:3378-1
SUSE-SU-2017:3388-1
USN-3681-1

Affected Products

Imagemagick
Suse
Ubuntu