CVE-2017-14173
Published: 7 September 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.
Notes
Author | Note |
---|---|
mdeslaur |
0312-CVE-2017-14173-Fix-infinite-loop-in-ReadTXTImage.patch in wheezy |
Priority
Status
Package | Release | Status |
---|---|---|
imagemagick
Launchpad, Ubuntu, Debian |
artful |
Released
(8:6.9.7.4+dfsg-16ubuntu2.2)
|
bionic |
Released
(8:6.9.7.4+dfsg-16ubuntu6.2)
|
|
trusty |
Released
(8:6.7.7.10-6ubuntu3.11)
|
|
upstream |
Released
(8:6.9.9.34+dfsg-3)
|
|
xenial |
Released
(8:6.8.9.9-7ubuntu5.11)
|
|
zesty |
Ignored
(end of life)
|
|
Patches:
upstream: https://github.com/ImageMagick/ImageMagick/commit/48bcf7c39302cdf9b0d9202ad03bf1b95152c44d |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 6.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |