All vulnerabilities

Servers and applications

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.

Severity
Medium 6.5
Published
7 Sept 2017
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
1.9% in the next 30 daysHigher than 80% of CVEs. EPSS by FIRST, 11 Nov 2026
Weakness
Integer overflow (CWE-190)Infinite loop (CWE-835)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Sources
NVD

Affected software

SoftwareAffected versions
ImageMagickServers and applications · cpe:a:imagemagick:imagemagick
  • Version 7.0.6-10

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2017-14173
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2017-14173