CVE-2017-14173

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductImagemagick
PublishedSep 7, 2017
First seenSep 7, 2017

How to fix

Affected products

ProductAffected versionsFixed in
imagemagick imagemagick7.0.6-10—
canonical ubuntu_linux14.04, 16.04, 17.10, 18.04—
debian debian_linux8.0, 9.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.