Spotlight in Apple Mac OS X 10.5.8 does not properly handle temporary files, which allows local users to overwrite arbitrary files in the context of a different user's privileges via unspecified vectors.
http://lists.apple.com/archives/security-announce/2009/Nov/msg00000.html