cbcvebase.
CVE-2017-14173
published 2017-09-07

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"…

PriorityP428medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
1.94%
78.0th percentile
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.

Affected

12 ranges
VendorProductVersion rangeFixed in
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
debiandebian_linux
debiandebian_linux
debianimagemagick< imagemagick 8:6.9.9.34+dfsg-3 (bookworm)imagemagick 8:6.9.9.34+dfsg-3 (bookworm)
imagemagickimagemagick
imagemagickimagemagick>= 0 < 8:6.9.9.34+dfsg-38:6.9.9.34+dfsg-3
imagemagickimagemagick>= 0 < 8:6.9.9.34+dfsg-38:6.9.9.34+dfsg-3
imagemagickimagemagick>= 0 < 8:6.9.9.34+dfsg-38:6.9.9.34+dfsg-3
imagemagickimagemagick>= 0 < 8:6.9.9.34+dfsg-38:6.9.9.34+dfsg-3

CVSS provenance

nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5LOW
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.