Heap-based buffer overflow in jpeg_ls.dll in the Jpeg_LS (aka JLS) plugin in the formats plugins in IrfanView PlugIns before 4.34 allows remote attackers to execute arbitrary code via a crafted JLS file.
http://www.reactionpenetrationtesting.co.uk/Irfanview-JLS-Heap-Overflow.html
http://archives.neohapsis.com/archives/bugtraq/2012-06/0191.html