CVE-2017-14173

medium

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.

References

https://usn.ubuntu.com/3681-1/

https://security.gentoo.org/glsa/201711-07

https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html

https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html

https://github.com/ImageMagick/ImageMagick/commit/50f54462076648ac2e36c3f58f4dadd4babbf1c9

Details

Source: Mitre, NVD

Published: 2017-09-07

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Severity: Medium