slocate before 2.7 does not properly process very long paths, which allows local users to cause a denial of service (updatedb exit and incomplete slocate database) via a certain crafted directory structure.
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9538
https://exchange.xforce.ibmcloud.com/vulnerabilities/22316
http://www.securityfocus.com/bid/14640
http://www.redhat.com/support/errata/RHSA-2005-747.html
http://www.redhat.com/support/errata/RHSA-2005-346.html