Multiple integer overflows in the (1) sftp_pkt_getstring and (2) fxp_readdir_recv functions in the PSFTP and PSCP clients for PuTTY 0.56, and possibly earlier versions, allow remote malicious web sites to execute arbitrary code via SFTP responses that corrupt the heap after insufficient memory has been allocated.
secunia.com/advisories/14333
secunia.com/advisories/17214
www-1.ibm.com/support/docview.wss?uid=ssg1S1002414
www-1.ibm.com/support/docview.wss?uid=ssg1S1002416
www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-sftp-readdir.html
www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-sftp-string.html
www.gentoo.org/security/en/glsa/glsa-200502-28.xml
www.idefense.com/application/poi/display?id=201&type=vulnerabilities
exchange.xforce.ibmcloud.com/vulnerabilities/19403