Live threats

All CVEs / Imagemagick

CVE-2017-14173Imagemagick

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
1.9%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
Sep 7, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190, CWE-835
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Imagemagick.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
imagemagickimagemagick7.0.6-10
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux17.10
canonicalubuntu_linux18.04
debiandebian_linux8.0
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.