oss-sec mailing list archives

Stack smashing in libjpeg-turbo


From: Bastien ROUCARIES <roucaries.bastien () gmail com>
Date: Thu, 6 Nov 2014 22:27:01 +0100

Hi,

Passing special crafted jpeg file to imagemagick (convert -rotate 270
003632r270.jpg junk.jpg) could lead to stack smashing in libjpeg.so.62
(libjpeg-turbo).

This bug is triggered  by setting the optimize coding member of the
JPEG initialization structure to TRUE. If this flag set it to FALSE,
ImageMagick completes without complaint.

Wokarround could consist to turn off compression optimization in
imagemagick to prevent the stack smash.

Please assing me CVE and make a cc to  768369 () bugs debian org.


Bastien


Current thread: