Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Imagemagick | Imagemagick | 7.0.6-10 |
| Canonical | Ubuntu Linux | 14.04 |
| Debian | Debian Linux | 8.0 |
Related Weaknesses (CWE)
References
- https://github.com/ImageMagick/ImageMagick/commit/50f54462076648ac2e36c3f58f4dadPatchVendor Advisory
- https://github.com/ImageMagick/ImageMagick/issues/713ExploitIssue TrackingPatch
- https://lists.debian.org/debian-lts-announce/2019/05/msg00015.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/09/msg00007.htmlThird Party Advisory
- https://security.gentoo.org/glsa/201711-07Third Party Advisory
- https://usn.ubuntu.com/3681-1/Third Party Advisory
- https://github.com/ImageMagick/ImageMagick/commit/50f54462076648ac2e36c3f58f4dadPatchVendor Advisory
- https://github.com/ImageMagick/ImageMagick/issues/713ExploitIssue TrackingPatch
- https://lists.debian.org/debian-lts-announce/2019/05/msg00015.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/09/msg00007.htmlThird Party Advisory
- https://security.gentoo.org/glsa/201711-07Third Party Advisory
- https://usn.ubuntu.com/3681-1/Third Party Advisory
FAQ
What is CVE-2017-14173?
CVE-2017-14173 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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...
How severe is CVE-2017-14173?
CVE-2017-14173 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-14173?
Check the references section above for vendor advisories and patch information. Affected products include: Imagemagick Imagemagick, Canonical Ubuntu Linux, Debian Debian Linux.