Back

MEDIUM

ImageMagick: Integer overflow in the function ReadTXTImage()

Published Sep 7, 2017

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.

Affected products

Remediation

No remediation recorded yet.

Metrics

References (10)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Sep 7, 2017
Updated Aug 5, 2024
Reserved Sep 7, 2017
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Low
Public date Sep 7, 2017