CVE-2005-2368: OS Command Injection

Published Jul 26, 2005
·
Updated

vim 6.3 before 6.3.082, with modelines enabled, allows external user-assisted attackers to execute arbitrary commands via shell metacharacters in the (1) glob or (2) expand commands of a foldexpr expression for calculating fold levels.

Affected Software

6 affected components
Vim Development Group Vim=6.3
Vim Development Group Vim=6.3.011
Vim Development Group Vim=6.3.081
Vim Development Group Vim=6.3.025
Vim Development Group Vim=6.3.044
Vim Development Group Vim=6.3.030

Event History

Jul 26, 2005
CVE Published
04:00 AM
CVE Published
via MITRE·08:00 AM
Data Sourced
via MITRE·08:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2005-2368?

CVE-2005-2368 has a moderate severity as it allows external attackers to execute arbitrary commands under certain conditions.

2

Which versions of Vim are affected by CVE-2005-2368?

CVE-2005-2368 affects Vim versions 6.3 and earlier up to 6.3.081.

3

How can I mitigate the risk of CVE-2005-2368?

You can mitigate CVE-2005-2368 by disabling modelines in your Vim configuration or upgrading to a patched version of Vim.

4

What type of attacks are possible with CVE-2005-2368?

CVE-2005-2368 allows user-assisted attackers to execute arbitrary shell commands via specially crafted Vim scripts.

5

Is CVE-2005-2368 a zero-day vulnerability?

CVE-2005-2368 is not a zero-day vulnerability as it was disclosed in 2005, and fixes are available.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203