Possible Windows Explorer bad PNG file preview integer overflow handling Sep 25 2007 09:32AM
rocheml httrack com
Hi folks,

Can anyone confirm that the attached PNG file is causing Explorer to eat
100% CPU, and if this is a known issue ?

(Currently tested with an up-to-date Windows XP and Windows Vista)

The probable cause is an integer overflow in the PNG chunk size handling,
which is 32-bit large, and which can cause a 32-bit counter to overflow
when specifically designed for (the attached file contains an tEXt chunk
which is 0xfffffff4 bytes large), leading to bypass size checking and
causing counters to go backward.

(Other applications handling PNG files might be affected)

Xavier Roche


IHDR**J¡^ pHYs  ??tIME× 0´ïÑÐÿÿÿôtEXtCommentCreated with The GIMPïd%nQIDATxÚíX±®ª@]/?ÎM ÆÄ?VÐNþþÀÄo`ÿ?^[???°1ÁD?
Ú ?ÆDbÂ-¸G¸
?×û,§wÇ9³³3³q?÷á¼5}M_Ó¿$??eYóù|¿ßߺ\.A&? ÇqUé8]O?årYd¥Ñèv» ä+ Ã(?2JLÇe?RõL`IR?$Ó4 ??Ó·Z­Ä\§Óÿ Ùlb:AQ?ð?q²ôÖO§S"?ÃÙl?Ȧi>ÊÀápp
çv»¢(?N§MÓ*_?¤D­Ùl"?bl ?úýþÇÇWeq7%ôiEQ?«CÓ4?
<(¢7M?$¿nGQ?ì?ëº?a?áº.¾Eå2<yÃ0X?eYÖ0?R?²°,?õ<ù»ôwS² 7K2ß²¬ëõ?öÜ®(?9¡ t]O~êºÞn·5M{xzUUs?/½ï??i?<Ïó<?F!??$É??ôÙó?ƶøªªf 2MgUU+¼x¶mAmÛ8ú»Ý
²,[ÉiEQ^@/˲,ËÿzÖó<ϲ¬·??çA?; C'ÑÇ ¯¢Ül6+¢`^Èèo?㸢¯ c?¦BäË+

[ reply ]


Privacy Statement
Copyright 2010, SecurityFocus