A boundary error in the NCSEcw.dll module when decompressing Enhanced Compressed Wavelet images can be exploited to cause a heap-based buffer overflow via a specially crafted ECW file.
The Code
http://www.protekresearchlab.com/exploits/PRL-2012-13.ecw
http://www.exploit-db.com/sploits/19182.ecw