Imager::File::GIF before 1.006 allows out-of-bounds GIF reads
Stig Palmquist reported the Perl module issue to oss-security on October 20.
34
Imager::File::GIF versions before 1.006 for Perl allow out-of-bounds reads when consolidating GIF images. With `gif_consolidate => 1`, palette indices from the image are used without checking the colour table's bounds. The i_readgif_low routine reads beyond the heap allocation and copies the bytes into output pixels. The default GIF reader is not affected. The same code ships bundled in the Imager distribution. An attacker supplying a crafted GIF can disclose adjacent heap memory through the decoded output and may crash the process.
Stig Palmquist reported the Perl module issue to oss-security on October 20.
Today 1.6K readers · 2.5K views · 779 reads · all time 189K views