plaiter in Plait before 1.6 allows local users to overwrite arbitrary files via a symlink attack on (1) cut.$$, (2) head.$$, (3) awk.$$, and (4) ps.$$ temporary files in /tmp/.
https://exchange.xforce.ibmcloud.com/vulnerabilities/44786
https://bugs.gentoo.org/show_bug.cgi?id=235770
http://www.securityfocus.com/bid/30928
http://www.openwall.com/lists/oss-security/2008/10/30/2
http://sourceforge.net/project/shownotes.php?group_id=147849&release_id=623154
http://secunia.com/advisories/31617