main.c in cscope 15-4 and 15-5 creates temporary files with predictable filenames, which allows local users to overwrite arbitrary files via a symlink attack.
https://exchange.xforce.ibmcloud.com/vulnerabilities/18125
http://www.vupen.com/english/advisories/2007/2732
http://www.securityfocus.com/bid/25159
http://www.securityfocus.com/archive/1/381611
http://www.securityfocus.com/archive/1/381506
http://www.securityfocus.com/archive/1/381443
http://www.gentoo.org/security/en/glsa/glsa-200412-11.xml
http://www.debian.org/security/2004/dsa-610
http://secunia.com/advisories/26235
http://marc.info/?l=bugtraq&m=110133485519690&w=2
http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html