Untrusted search path vulnerability in Adobe PhotoShop CS2 through CS5 allows local users, and possibly remote attackers, to execute arbitrary code and conduct DLL hijacking attacks via a Trojan horse dwmapi.dll or Wintab32.dll that is located in the same folder as a PSD or other file that is processed by PhotoShop. NOTE: some of these details are obtained from third party information.
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6778
http://www.vupen.com/english/advisories/2010/2170
http://www.exploit-db.com/exploits/14741
http://secunia.com/advisories/41060
http://blog.zoller.lu/2010/08/cve-2010-xn-loadlibrarygetprocaddress.html