The (1) JpegImagePlugin.py and (2) EpsImagePlugin.py scripts in Python Image Library (PIL) 1.1.7 and earlier and Pillow before 2.3.1 uses the names of temporary files on the command line, which makes it easier for local users to conduct symlink attacks by listing the processes.
https://security.gentoo.org/glsa/201612-52
http://www.ubuntu.com/usn/USN-2168-1
http://www.securityfocus.com/bid/65513
http://www.openwall.com/lists/oss-security/2014/02/11/1
http://www.openwall.com/lists/oss-security/2014/02/10/15
http://lists.opensuse.org/opensuse-updates/2014-05/msg00002.html