The Repair Permissions tool in Disk Utility in Apple Mac OS X 10.4.11 adds the setuid bit to the emacs executable file, which allows local users to gain privileges by executing commands within emacs.
https://exchange.xforce.ibmcloud.com/vulnerabilities/44132
http://www.vupen.com/english/advisories/2008/2268
http://www.securitytracker.com/id?1020605
http://www.securityfocus.com/bid/30492
http://www.securityfocus.com/bid/30483
http://secunia.com/advisories/31326
http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html