Heap-based buffer overflow in main.c of slocate 2.6, and possibly other versions, may allow local users to gain privileges via a modified slocate database that causes a negative "pathlen" value to be used.
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A821
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11033
http://www.trustix.org/errata/misc/2004/TSL-2004-0005-slocate.asc.txt
http://www.redhat.com/support/errata/RHSA-2004-041.html
http://www.redhat.com/archives/fedora-announce-list/2004-January/msg00009.html
http://www.mandriva.com/security/advisories?name=MDKSA-2004:004
http://www.ebitech.sk/patrik/SA/SA-20031006.txt
http://www.ebitech.sk/patrik/SA/SA-20031006-A.txt
http://www.debian.org/security/2004/dsa-428
http://secunia.com/advisories/9962/
http://secunia.com/advisories/10722
http://secunia.com/advisories/10720
http://secunia.com/advisories/10702
http://secunia.com/advisories/10698
http://secunia.com/advisories/10686
http://secunia.com/advisories/10683
http://secunia.com/advisories/10670
http://rhn.redhat.com/errata/RHSA-2004-040.html