Xfig, possibly 3.2.5, allows local users to read and write arbitrary files via a symlink attack on the (1) xfig-eps[PID], (2) xfig-pic[PID].pix, (3) xfig-pic[PID].err, (4) xfig-pcx[PID].pix, (5) xfig-xfigrc[PID], (6) xfig[PID], (7) xfig-print[PID], (8) xfig-export[PID].err, (9) xfig-batch[PID], (10) xfig-exp[PID], or (11) xfig-spell.[PID] temporary files, where [PID] is a process ID.
https://exchange.xforce.ibmcloud.com/vulnerabilities/49600
http://www.securityfocus.com/bid/34328
http://www.openwall.com/lists/oss-security/2009/04/01/6
http://www.mandriva.com/security/advisories?name=MDVSA-2009:244