Slow to run on some crafted images
Advanced PNG optimization program
Status: Beta
Brought to you by:
cosmin
It may take too much time to run optipng on some crafted images whose metadata is bogus; this results from the fact optipng may allocate the corresponding memory for these declared values. The consequence is that it consumes quite a lot of memory and greatly affects the overall performance of the computer.
Please see the attached input files for reference.
Last edit: Hongxu Chen 2018-09-02
seems that gifs cannot be uploaded. Please follow the following links:
https://github.com/ntu-sec/pocs/blob/master/optipng-0.7.7/hangs/s01.gif
https://github.com/ntu-sec/pocs/blob/master/optipng-0.7.7/hangs/s02.gif