CVE-2009-0316

CVE-2009-0316 is a medium-severity vulnerability in Vim with a CVSS 2.0 base score of 6.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

Description

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.

Frequently asked questions

What is CVE-2009-0316?
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.
How severe is CVE-2009-0316?
CVE-2009-0316 has a CVSS 2.0 base score of 6.9, rated medium severity.
Is CVE-2009-0316 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (85th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2009-0316?
CVE-2009-0316 primarily affects Vim. In total, 21 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2009-0316?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2009-0316 published?
CVE-2009-0316 was published on 2009-01-28 and last updated on 2026-06-16.

References

Affected products (21)

More vulnerabilities in Vim

All CVEs affecting Vim →