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 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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:imagemagick:imagemagick:7.0.6-10:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

History

No history.

Information

Published : 2017-09-07 06:29

Updated : 2023-12-10 12:15


NVD link : CVE-2017-14173

Mitre link : CVE-2017-14173

CVE.ORG link : CVE-2017-14173


JSON object : View

Products Affected

canonical

  • ubuntu_linux

debian

  • debian_linux

imagemagick

  • imagemagick
CWE
CWE-190

Integer Overflow or Wraparound

CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')