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.
http://lists.opensuse.org/opensuse-updates/2014-05/msg00002.html
https://github.com/python-imaging/Pillow/commit/4e9f367dfd3f04c8f5d23f7f759ec12782e10ee7
https://security.gentoo.org/glsa/201612-52
http://www.openwall.com/lists/oss-security/2014/02/10/15