CVE-2009-0316: Vim

Medium severity, CVSS 6.9. EPSS: 2.7% chance of exploitation in the next 30 days.

Untrusted search path vulnerability in src/if_python.c in the Python interface in Vim before 7.2.045 allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to a vulnerability in the PySys_SetArgv function (CVE-2008-5983), as demonstrated by an erroneous search path for plugin/bike.vim in bicyclerepair.

Affected products

  • Vim Vim: up to and including 7.2; version 1.0 only; version 1.22 only; version 3.0 only; version 4.0 only; version 5.0 only; …

Published 2009-01-28. Last modified 2026-06-16.