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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2017-09-07T06:00:00

Updated: 2024-08-05T19:20:41.015Z

Reserved: 2017-09-07T00:00:00

Link: CVE-2017-14173

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2017-09-07T06:29:00.360

Modified: 2020-10-15T16:07:06.090

Link: CVE-2017-14173

cve-icon Redhat

Severity : Low

Publid Date: 2017-09-07T00:00:00Z

Links: CVE-2017-14173 - Bugzilla