Hide Forgot
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. Upstream issue: https://github.com/ImageMagick/ImageMagick/issues/713 Upstream patch: https://github.com/ImageMagick/ImageMagick/commit/48bcf7c39302cdf9b0d9202ad03bf1b95152c44d
Created ImageMagick tracking bugs for this issue: Affects: fedora-all [bug 1488981]