CVE-2017-14173
Reported by mitre · Published September 7, 2017
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| imagemagick | Ubuntu:14.04:LTS | 8:6.7.7.10-6ubuntu3.11 |
| imagemagick | Ubuntu:16.04:LTS | 8:6.8.9.9-7ubuntu5.11 |
| imagemagick | Ubuntu:18.04:LTS | 8:6.9.7.4+dfsg-16ubuntu6.2 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Sep 7, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch
- Mar 5, 2026 Security Advisory (3 in total, the first dated here)
- Oct 3, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-14173
vulnetix vdb fixes CVE-2017-14173
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-14173/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-3681-1 vendor-advisoryx_refsource_UBUNTU
- GLSA-201711-07 vendor-advisoryx_refsource_GENTOO
- x_refsource_CONFIRM
- [debian-lts-announce] 20190514 [SECURITY] [DLA 1785-1] imagemagick security update mailing-listx_refsource_MLIST
- [debian-lts-announce] 20200907 [SECURITY] [DLA 2366-1] imagemagick security update mailing-listx_refsource_MLIST
- x_refsource_CONFIRM