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.
Metrics
Affected Vendors & Products
References
History
No history.

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

No data.

Status : Deferred
Published: 2017-09-07T06:29:00.360
Modified: 2025-04-20T01:37:25.860
Link: CVE-2017-14173
