CVE-2008-4101 json
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…
published 2008-09-18 18 y ago modified 2026-06-16 4 mo ago also EUVD-2008-4085
- cvss
- 9.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 9.2%
- EPSS 9.2% chance of exploitation in 30 days, percentile 95%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- vim Debian 14, Debian 13, Debian 12 2:7.2.010-1
debian advisories DEBIAN-CVE-2008-4101
- vim RHEL 3 1:6.3.046-0.30E.11
- vim RHEL 4 1:6.3.046-1.el4_7.5z
- vim-X11 RHEL 3 1:6.3.046-0.30E.11
- vim-X11 RHEL 4 1:6.3.046-1.el4_7.5z
- vim-common RHEL 3 1:6.3.046-0.30E.11
- vim-common RHEL 4 1:6.3.046-1.el4_7.5z
- vim-minimal RHEL 3 1:6.3.046-0.30E.11
- vim-minimal RHEL 4 1:6.3.046-1.el4_7.5z
red hat advisories RHSA-2008:0617RHSA-2008:0618RHSA-2008:0580
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2008-4101 updated
vim: arbitrary code execution in commands: K, Control-], g]
-
Red Hat Desktop version 3 vim 6.3.046-0.30E.11, vim-X11 6.3.046-0.30E.11, vim-common 6.3.046-0.30E.11, vim-minimal 6.3.046-0.30E.11, vim-enhanced 6.3.046-0.30E.11fixed: vendor fix RHSA-2008:0617
-
Red Hat Enterprise Linux (v. 5 server) vim 7.0.109-4.el5_2.4z, vim-X11 7.0.109-4.el5_2.4z, vim-common 7.0.109-4.el5_2.4z, vim-minimal 7.0.109-4.el5_2.4z, vim-enhanced 7.0.109-4.el5_2.4zfixed: vendor fix RHSA-2008:0580
-
Red Hat Enterprise Linux AS (Advanced Server) version 2.1 vim 6.0-7.25, vim-X11 6.0-7.25, vim-common 6.0-7.25, vim-minimal 6.0-7.25, vim-enhanced 6.0-7.25fixed: vendor fix RHSA-2008:0618
-
Red Hat Enterprise Linux AS version 3 vim 6.3.046-0.30E.11, vim-X11 6.3.046-0.30E.11, vim-common 6.3.046-0.30E.11, vim-minimal 6.3.046-0.30E.11, vim-enhanced 6.3.046-0.30E.11 Red Hat Enterprise Linux AS version 4 vim 6.3.046-1.el4_7.5z, vim-X11 6.3.046-1.el4_7.5z, vim-common 6.3.046-1.el4_7.5z, vim-minimal 6.3.046-1.el4_7.5z, vim-enhanced 6.3.046-1.el4_7.5zfixed: vendor fix RHSA-2008:0617
-
Red Hat Enterprise Linux Desktop (v. 5 client) vim 7.0.109-4.el5_2.4z, vim-X11 7.0.109-4.el5_2.4z, vim-common 7.0.109-4.el5_2.4z, vim-minimal 7.0.109-4.el5_2.4z, vim-enhanced 7.0.109-4.el5_2.4zfixed: vendor fix RHSA-2008:0580
-
Red Hat Enterprise Linux Desktop version 4 vim 6.3.046-1.el4_7.5z, vim-X11 6.3.046-1.el4_7.5z, vim-common 6.3.046-1.el4_7.5z, vim-minimal 6.3.046-1.el4_7.5z, vim-enhanced 6.3.046-1.el4_7.5zfixed: vendor fix RHSA-2008:0617
-
Red Hat Enterprise Linux ES version 2.1 vim 6.0-7.25, vim-X11 6.0-7.25, vim-common 6.0-7.25, vim-minimal 6.0-7.25, vim-enhanced 6.0-7.25fixed: vendor fix RHSA-2008:0618
-
Red Hat Enterprise Linux ES version 3 vim 6.3.046-0.30E.11, vim-X11 6.3.046-0.30E.11, vim-common 6.3.046-0.30E.11, vim-minimal 6.3.046-0.30E.11, vim-enhanced 6.3.046-0.30E.11 Red Hat Enterprise Linux ES version 4 vim 6.3.046-1.el4_7.5z, vim-X11 6.3.046-1.el4_7.5z, vim-common 6.3.046-1.el4_7.5z, vim-minimal 6.3.046-1.el4_7.5z, vim-enhanced 6.3.046-1.el4_7.5zfixed: vendor fix RHSA-2008:0617
show 3 moreshow fewer
-
Red Hat Enterprise Linux WS version 2.1 vim 6.0-7.25, vim-X11 6.0-7.25, vim-common 6.0-7.25, vim-minimal 6.0-7.25, vim-enhanced 6.0-7.25fixed: vendor fix RHSA-2008:0618
-
Red Hat Enterprise Linux WS version 3 vim 6.3.046-0.30E.11, vim-X11 6.3.046-0.30E.11, vim-common 6.3.046-0.30E.11, vim-minimal 6.3.046-0.30E.11, vim-enhanced 6.3.046-0.30E.11 Red Hat Enterprise Linux WS version 4 vim 6.3.046-1.el4_7.5z, vim-X11 6.3.046-1.el4_7.5z, vim-common 6.3.046-1.el4_7.5z, vim-minimal 6.3.046-1.el4_7.5z, vim-enhanced 6.3.046-1.el4_7.5zfixed: vendor fix RHSA-2008:0617
-
Red Hat Linux Advanced Workstation 2.1 vim 6.0-7.25, vim-X11 6.0-7.25, vim-common 6.0-7.25, vim-minimal 6.0-7.25, vim-enhanced 6.0-7.25fixed: vendor fix RHSA-2008:0618
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-32289)
- Published
Exploit prediction
9.21% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-32289 Vim 7.1.314 - Insufficient Shell Escaping Multiple Command Execution Vulnerabilities remote, 2008-08-19
- ftp.vim.org http://ftp.vim.org/pub/vim/patches/7.2/7.2.010 referenced PoC, tagged "exploit" by a source, unverified
- groups.google.com http://groups.google.com/group/vim_dev/browse_thread/thread/1434d0812b5c817e/6ad2d5b50a96668e referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
groups.google.com
/group/vim_dev/attach/dd32ad3a84f36bb2/K-arbitrary-command-execution.patch?part=2
patch
-
groups.google.com
/group/vim_dev/msg/9290f26f9bc11b33
mailing-list, patch
-
ftp.vim.org
/pub/vim/patches/7.2/7.2.010
mailing-list, exploit
-
groups.google.com
/group/vim_dev/browse_thread/thread/1434d0812b5c817e/6ad2d5b50a96668e
exploit
-
redhat.com
/support/errata/RHSA-2008-0618.html
vendor-advisory
-
ubuntu.com
/usn/USN-712-1
vendor-advisory
-
lists.apple.com
/archives/security-announce/2010//Mar/msg00001.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2008-0580.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2008:236
vendor-advisory
-
lists.apple.com
/archives/security-announce/2008/Oct/msg00001.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2008-0617.html
vendor-advisory
- vmware.com /security/advisories/VMSA-2009-0004.html
-
openwall.com
/lists/oss-security/2008/09/16/5
mailing-list
-
secunia.com
/advisories/31592
third-party-advisory
-
securityfocus.com
/archive/1/495703
mailing-list
-
openwall.com
/lists/oss-security/2008/09/11/4
mailing-list
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10894
vdb-entry, signature
-
securityfocus.com
/bid/31681
vdb-entry
-
openwall.com
/lists/oss-security/2008/09/16/6
mailing-list
-
secunia.com
/advisories/32858
third-party-advisory
-
secunia.com
/advisories/33410
third-party-advisory
- support.avaya.com /elmodocs2/security/ASA-2009-001.htm
-
exchange.xforce.ibmcloud.com
/vulnerabilities/44626
vdb-entry
-
vupen.com
/english/advisories/2009/0904
vdb-entry
-
vupen.com
/english/advisories/2009/0033
vdb-entry
-
securityfocus.com
/archive/1/502322/100/0/threaded
mailing-list
- bugzilla.redhat.com /show_bug.cgi?id=461927
- support.avaya.com /elmodocs2/security/ASA-2008-457.htm
-
secunia.com
/advisories/32222
third-party-advisory
- support.apple.com /kb/HT4077
-
securityfocus.com
/bid/30795
vdb-entry
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5812
vdb-entry, signature
- groups.google.com /group/vim_dev/attach/9290f26f9bc11b33/K-arbitrary-command-execution.patch.v3?part=2
-
openwall.com
/lists/oss-security/2008/09/11/3
mailing-list
-
securityfocus.com
/archive/1/495662
mailing-list
-
vupen.com
/english/advisories/2008/2780
vdb-entry
-
secunia.com
/advisories/32864
third-party-advisory
- rdancer.org /vulnerablevim-K.html
- support.apple.com /kb/HT3216
Sources
- CVE List CVE-2008-4101
- NVD CVE-2008-4101
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.