CVE-2008-4865: Valgrind

High severity, CVSS 7.2. EPSS: 0.4% chance of exploitation in the next 30 days.

Untrusted search path vulnerability in valgrind before 3.4.0 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.

Affected products

  • Valgrind Valgrind: up to and including 3.4.0; version 1.9.6 only; version 2.0.0 only; version 2.1.0 only; version 2.1.1 only; version 2.2.0 only; …

Published 2008-11-01. Last modified 2026-06-16.