Home / Vim / Vim / CVE-2008-4101
CVE-2008-4101: is it exploited, and which versions of Vim are affected and fixed?
CVE-2008-4101 is an improper input validation vulnerability in Vim. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: vim through 7.2, vim 3.0, vim 4.0 and 16 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (9.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:51 UTC.
What is CVE-2008-4101?
Vim 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.
From the CVE record by mitre, last updated August 7, 2024, 10:00 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| vim | vim | through 7.2 | application |
| vim | vim | 3.0 | application |
| vim | vim | 4.0 | application |
| vim | vim | 5.0 | application |
| vim | vim | 5.1 | application |
| vim | vim | 5.2 | application |
| vim | vim | 5.3 | application |
| vim | vim | 5.4 | application |
| vim | vim | 5.5 | application |
| vim | vim | 5.6 | application |
| vim | vim | 5.7 | application |
| vim | vim | 5.8 | application |
| vim | vim | 6.0 | application |
| vim | vim | 6.1 | application |
| vim | vim | 6.2 | application |
| vim | vim | 6.3 | application |
| vim | vim | 6.4 | application |
| vim | vim | 7.0 | application |
| vim | vim | 7.1 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:57 UTC.
How severe is CVE-2008-4101?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 9.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2008-4101 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 9.21% probability of exploitation activity in the next 30 days, percentile 95.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- http://www.vmware.com/security/advisories/VMSA-2009-0004.html x_refsource_CONFIRM
- [vim-dev] 20080903 Patch 7.2.010 mailing-list, x_refsource_MLIST
- RHSA-2008:0618 vendor-advisory, x_refsource_REDHAT
- [oss-security] 20080915 Re: [oss-list] CVE request (vim) mailing-list, x_refsource_MLIST
- 31592 third-party-advisory, x_refsource_SECUNIA
- 20080825 RE: Arbitrary Code Execution in Commands: K, Control-], g] mailing-list, x_refsource_BUGTRAQ
- USN-712-1 vendor-advisory, x_refsource_UBUNTU
- [oss-security] 20080911 Re: [oss-list] CVE request (vim) mailing-list, x_refsource_MLIST
- oval:org.mitre.oval:def:10894 vdb-entry, signature, x_refsource_OVAL
- 31681 vdb-entry, x_refsource_BID
- [oss-security] 20080915 Re: [oss-list] CVE request (vim) mailing-list, x_refsource_MLIST
- 32858 third-party-advisory, x_refsource_SECUNIA
- 33410 third-party-advisory, x_refsource_SECUNIA
- APPLE-SA-2010-03-29-1 vendor-advisory, x_refsource_APPLE
- RHSA-2008:0580 vendor-advisory, x_refsource_REDHAT
- http://support.avaya.com/elmodocs2/security/ASA-2009-001.htm x_refsource_CONFIRM
- vim-normal-command-execution(44626) vdb-entry, x_refsource_XF
- ADV-2009-0904 vdb-entry, x_refsource_VUPEN
- ADV-2009-0033 vdb-entry, x_refsource_VUPEN
- 20090401 VMSA-2009-0004 ESX Service Console updates for openssl, bind, and vim mailing-list, x_refsource_BUGTRAQ
- http://groups.google.com/group/vim_dev/attach/dd32ad3a84f36bb2/K-arbitrary-command-execution.patch?part=2 x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=461927 x_refsource_CONFIRM
- http://support.avaya.com/elmodocs2/security/ASA-2008-457.htm x_refsource_CONFIRM
- 32222 third-party-advisory, x_refsource_SECUNIA
- http://support.apple.com/kb/HT4077 x_refsource_CONFIRM
- 30795 vdb-entry, x_refsource_BID
- oval:org.mitre.oval:def:5812 vdb-entry, signature, x_refsource_OVAL
- http://groups.google.com/group/vim_dev/attach/9290f26f9bc11b33/K-arbitrary-command-execution.patch.v3?part=2 x_refsource_MISC
- [oss-security] 20080911 [oss-list] CVE request (vim) mailing-list, x_refsource_MLIST
- 20080822 Vim: Arbitrary Code Execution in Commands: K, Control-], g] mailing-list, x_refsource_BUGTRAQ
- MDVSA-2008:236 vendor-advisory, x_refsource_MANDRIVA
- ADV-2008-2780 vdb-entry, x_refsource_VUPEN
- 32864 third-party-advisory, x_refsource_SECUNIA
- [vim_dev] 20080824 Bug with v_K and potentially K command mailing-list, x_refsource_MLIST
- http://www.rdancer.org/vulnerablevim-K.html x_refsource_MISC
- APPLE-SA-2008-10-09 vendor-advisory, x_refsource_APPLE
- http://support.apple.com/kb/HT3216 x_refsource_CONFIRM
- http://groups.google.com/group/vim_dev/browse_thread/thread/1434d0812b5c817e/6ad2d5b50a96668e x_refsource_MISC
- RHSA-2008:0617 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- September 15, 2008
- Published
- September 18, 2008, 17:47 UTC
- CVE record updated
- August 7, 2024, 10:00 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:57 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:51 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Vim?
- Nov 22, 2026CVE-2026-134832 Vim: incorrect Behavior Order: Validate Before Canonicalize
- Aug 19, 2026CVE-2026-43961 vim: code injection (remote code execution)
- Aug 18, 2026CVE-2026-73073 vim: code injection (remote code execution)
- Aug 11, 2026CVE-2026-73078 vim: command injection
- Aug 11, 2026CVE-2026-73077 vim: OS command injection
- Aug 11, 2026CVE-2026-73076 vim: code injection (remote code execution)
- Aug 11, 2026CVE-2026-73075 vim: buffer Underwrite
- Aug 11, 2026CVE-2026-73074 vim: integer overflow
Questions about CVE-2008-4101
Is CVE-2008-4101 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 9.21% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Vim are affected by CVE-2008-4101?
vim through 7.2, vim 3.0, vim 4.0, vim 5.0, vim 5.1, vim 5.2 and 13 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2008-4101?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2008-4101?
High (9.3, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2008-4101?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.