CWE
NVD-CWE-Other
Advisory Published
Updated

CVE-2009-0316

First published: Wed Aug 06 2008(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Vim<=7.2
Vim=1.0
Vim=1.22
Vim=3.0
Vim=4.0
Vim=5.0
Vim=5.1
Vim=5.2
Vim=5.3
Vim=5.4
Vim=5.5
Vim=5.6
Vim=5.7
Vim=5.8
Vim=6.0
Vim=6.1
Vim=6.2
Vim=6.3
Vim=6.4
Vim=7.0
Vim=7.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2009-0316?

    CVE-2009-0316 is classified as a high severity vulnerability due to its potential to allow local users to execute arbitrary code.

  • How do I fix CVE-2009-0316?

    To fix CVE-2009-0316, update Vim to version 7.2.045 or later.

  • Who is affected by CVE-2009-0316?

    CVE-2009-0316 affects local users of Vim versions prior to 7.2.045 who can place malicious Python files in the current working directory.

  • What exploit mechanism is used in CVE-2009-0316?

    CVE-2009-0316 exploits the untrusted search path vulnerability through the PySys_SetArgv function.

  • Can remote users exploit CVE-2009-0316?

    No, CVE-2009-0316 can only be exploited by local users who have access to the Vim application on the machine.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203