Back to CVE catalog
CVE-2008-4101

Vim improper character escaping allows arbitrary command execution

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityMedium
ConfidentialityComplete
IntegrityComplete
AvailabilityComplete

CVSS summary v2.0

9.3High
Published:
Updated:
EPSS:
9.207%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:vimvimAffected versions:
≤ 7.2Show full version range for vim
3.04.05.05.15.25.35.45.55.65.75.86.06.16.26.36.47.07.1
Vendor:Debianvim
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2:7.2.010-1
Vendor:Debianvim-common
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2:7.2.010-1
Vendor:Debianvim-dbg
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2:7.2.010-1
Vendor:Debianvim-doc
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2:7.2.010-1
Vendor:Debianvim-full
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2:7.2.010-1
Vendor:Debianvim-gnome
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2:7.2.010-1
Vendor:Debianvim-gtk
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2:7.2.010-1
Vendor:Debianvim-gui-common
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2:7.2.010-1
Vendor:Debianvim-lesstif
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2:7.2.010-1

1–10 of 25 · Page 1 of 3

CVSS scores and metrics3
[email protected] · NVD (Primary)Primary9.3 / 10HighCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:C/I:C/A:C
oraclelinux · Wazuh CTI (adp)9.3 / 10HighCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:C/I:C/A:C
nvd · Wazuh CTI (cna)9.3 / 10HighCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories47

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences