Buffer overflow in IrfanView 3.99 allows context-dependent attackers to cause a denial of service and possibly execute arbitrary code via the (1) xoffset or (2) yoffset RLE command, or (3) large non-RLE encoded blocks in a crafted BMP image, as demonstrated by rle8of3.bmp and rle8of4.bmp.
https://euvd.enisa.europa.eu/vulnerability/EUVD-2007-1942
http://www.vupen.com/english/advisories/2007/1284
http://www.securityfocus.com/archive/1/464726/100/0/threaded
http://securityreason.com/securityalert/2558
http://ifsec.blogspot.com/2007/04/several-windows-image-viewers.html