Created attachment 29294 [details] Patch to fix vulnerability CVE-2008-4865 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-4865): Untrusted search path vulnerability in valgrind allows local users to execute arbitrary programs via a Trojan horse .valgrindrc file in the current working directory, as demonstrated using a malicious --db-command options. NOTE: the severity of this issue has been disputed, but CVE is including this issue because execution of a program from an untrusted directory is a common scenario. See also http://bugs.gentoo.org/show_bug.cgi?id=245317 Attached is an updated (wrt the above report) patch that applies to current SVN HEAD.
I believe this was fixed in r8798.