CVE-2008-4101
HIGH 9.3CVSS 2.0Vim 3.0 through 7.x before 7.2.010 does not properly escape characters, which allows user-assisted attackers to (1) execute arbitrary shell commands by entering a K keystroke on a line that contains a ";" (semicolon) followed by a command, or execute arbitrary Ex commands by entering an argument after a (2) "Ctrl-]" (control close-square-bracket) or (3) "g]" (g close-square-bracket) keystroke sequence, a different issue than CVE-2008-2712.
- Published
- 18 Sep 2008
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vim | vimcpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* |
<= 7.2 | |
| NVD | vim | vimcpe:2.3:a:vim:vim:3.0:*:*:*:*:*:*:* |
= 3.0 | |
| NVD | vim | vimcpe:2.3:a:vim:vim:4.0:*:*:*:*:*:*:* |
= 4.0 | |
| NVD | vim | vimcpe:2.3:a:vim:vim:5.0:*:*:*:*:*:*:* |
= 5.0 | |
| NVD | vim | vimcpe:2.3:a:vim:vim:5.1:*:*:*:*:*:*:* |
= 5.1 | |
| NVD | vim | vimcpe:2.3:a:vim:vim:5.2:*:*:*:*:*:*:* |
= 5.2 | |
| NVD | vim | vimcpe:2.3:a:vim:vim:5.3:*:*:*:*:*:*:* |
= 5.3 | |
| NVD | vim | vimcpe:2.3:a:vim:vim:5.4:*:*:*:*:*:*:* |
= 5.4 | |
| NVD | vim | vimcpe:2.3:a:vim:vim:5.5:*:*:*:*:*:*:* |
= 5.5 | |
| NVD | vim | vimcpe:2.3:a:vim:vim:5.6:*:*:*:*:*:*:* |
= 5.6 | |
| NVD | vim | vimcpe:2.3:a:vim:vim:5.7:*:*:*:*:*:*:* |
= 5.7 | |
| NVD | vim | vimcpe:2.3:a:vim:vim:5.8:*:*:*:*:*:*:* |
= 5.8 | |
| NVD | vim | vimcpe:2.3:a:vim:vim:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | vim | vimcpe:2.3:a:vim:vim:6.1:*:*:*:*:*:*:* |
= 6.1 | |
| NVD | vim | vimcpe:2.3:a:vim:vim:6.2:*:*:*:*:*:*:* |
= 6.2 | |
| NVD | vim | vimcpe:2.3:a:vim:vim:6.3:*:*:*:*:*:*:* |
= 6.3 | |
| NVD | vim | vimcpe:2.3:a:vim:vim:6.4:*:*:*:*:*:*:* |
= 6.4 | |
| NVD | vim | vimcpe:2.3:a:vim:vim:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | vim | vimcpe:2.3:a:vim:vim:7.1:*:*:*:*:*:*:* |
= 7.1 |
References
- http://ftp.vim.org/pub/vim/patches/7.2/7.2.010 · Exploit
- http://groups.google.com/group/vim_dev/attach/9290f26f9bc11b33/K-arbitrary-command-execution.patch.v3?part=2
- http://groups.google.com/group/vim_dev/attach/dd32ad3a84f36bb2/K-arbitrary-command-execution.patch?part=2 · Patch
- http://groups.google.com/group/vim_dev/browse_thread/thread/1434d0812b5c817e/6ad2d5b50a96668e · Exploit
- http://groups.google.com/group/vim_dev/msg/9290f26f9bc11b33 · Patch
- http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- http://secunia.com/advisories/31592
- http://secunia.com/advisories/32222
- http://secunia.com/advisories/32858
- http://secunia.com/advisories/32864
- http://secunia.com/advisories/33410
- http://support.apple.com/kb/HT3216
- http://support.apple.com/kb/HT4077
- http://support.avaya.com/elmodocs2/security/ASA-2008-457.htm
- http://support.avaya.com/elmodocs2/security/ASA-2009-001.htm
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:236
- http://www.openwall.com/lists/oss-security/2008/09/11/3
- http://www.openwall.com/lists/oss-security/2008/09/11/4
- http://www.openwall.com/lists/oss-security/2008/09/16/5
- http://www.openwall.com/lists/oss-security/2008/09/16/6
- http://www.rdancer.org/vulnerablevim-K.html
- http://www.redhat.com/support/errata/RHSA-2008-0580.html
- http://www.redhat.com/support/errata/RHSA-2008-0617.html
- http://www.redhat.com/support/errata/RHSA-2008-0618.html
- http://www.securityfocus.com/archive/1/495662
- http://www.securityfocus.com/archive/1/495703
- http://www.securityfocus.com/archive/1/502322/100/0/threaded
- http://www.securityfocus.com/bid/30795
- http://www.securityfocus.com/bid/31681
- http://www.ubuntu.com/usn/USN-712-1
- http://www.vmware.com/security/advisories/VMSA-2009-0004.html
- http://www.vupen.com/english/advisories/2008/2780
- http://www.vupen.com/english/advisories/2009/0033
- http://www.vupen.com/english/advisories/2009/0904
- https://bugzilla.redhat.com/show_bug.cgi?id=461927
- https://exchange.xforce.ibmcloud.com/vulnerabilities/44626
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10894
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5812
History
- 25 Nov 2026 20:14 UTC · NVD: first stored (published 18 Sep 2008)