Skip to content
Noroxi
NVD / CVE Program· CNA mitre

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…

CriticalCVSS 9.3 · v2.0—Proof of concept Fix available

Noroxi assessment

Priority: Plan (action score 40/100)

  • Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 9.2% (FIRST EPSS); higher than 95.4% of all records.
  • Fixed version: vim (Debian:12) 2:7.2.010-1; vim (Debian:4.0) 1:7.0-122+1etch5; vim (Red Hat:enterprise_linux:2.1::as) 1:6.0-7.25.

Add it to your regular patch cycle. Upgrade to vim (Debian:12) 2:7.2.010-1; vim (Debian:4.0) 1:7.0-122+1etch5; vim (Red Hat:enterprise_linux:2.1::as) 1:6.0-7.25 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

Published
Sep 18, 2008
Updated
Jun 16, 2026
EPSS
9.2% · 95th percentile

Report tools

JSON

Action score

40

Plan

Add it to your regular patch cycle.

CVSS
37 / 40 · 9.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
3 / 30 · 9.2%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2008-4101

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
vimvim

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • vim vimup to 7.2 inclusive
  • vim vim3.0
  • vim vim4.0
  • vim vim5.0
  • vim vim5.1
  • vim vim5.2
  • vim vim5.3
  • vim vim5.4

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12vimbefore 2:7.2.010-12:7.2.010-1
Debian:4.0vimbefore 1:7.0-122+1etch51:7.0-122+1etch5
Red Hat:enterprise_linux:2.1::asvimbefore 1:6.0-7.251:6.0-7.25
Red Hat:enterprise_linux:2.1::asvim-commonbefore 1:6.0-7.251:6.0-7.25
Red Hat:enterprise_linux:2.1::asvim-enhancedbefore 1:6.0-7.251:6.0-7.25
Red Hat:enterprise_linux:2.1::asvim-minimalbefore 1:6.0-7.251:6.0-7.25
Red Hat:enterprise_linux:2.1::asvim-X11before 1:6.0-7.251:6.0-7.25
Red Hat:enterprise_linux:3::asvimbefore 1:6.3.046-0.30E.111:6.3.046-0.30E.11
Red Hat:enterprise_linux:3::asvim-commonbefore 1:6.3.046-0.30E.111:6.3.046-0.30E.11
Red Hat:enterprise_linux:3::asvim-debuginfobefore 1:6.3.046-0.30E.111:6.3.046-0.30E.11
Red Hat:enterprise_linux:3::asvim-enhancedbefore 1:6.3.046-0.30E.111:6.3.046-0.30E.11
Red Hat:enterprise_linux:3::asvim-minimalbefore 1:6.3.046-0.30E.111:6.3.046-0.30E.11
Red Hat:enterprise_linux:3::asvim-X11before 1:6.3.046-0.30E.111:6.3.046-0.30E.11
Red Hat:enterprise_linux:4::asvimbefore 1:6.3.046-1.el4_7.5z1:6.3.046-1.el4_7.5z
Red Hat:enterprise_linux:4::asvim-commonbefore 1:6.3.046-1.el4_7.5z1:6.3.046-1.el4_7.5z
Red Hat:enterprise_linux:4::asvim-debuginfobefore 1:6.3.046-1.el4_7.5z1:6.3.046-1.el4_7.5z
Red Hat:enterprise_linux:4::asvim-enhancedbefore 1:6.3.046-1.el4_7.5z1:6.3.046-1.el4_7.5z
Red Hat:enterprise_linux:4::asvim-minimalbefore 1:6.3.046-1.el4_7.5z1:6.3.046-1.el4_7.5z
Red Hat:enterprise_linux:4::asvim-X11before 1:6.3.046-1.el4_7.5z1:6.3.046-1.el4_7.5z
Red Hat:enterprise_linux:5::clientvimbefore 2:7.0.109-4.el5_2.4z2:7.0.109-4.el5_2.4z
Red Hat:enterprise_linux:5::clientvim-commonbefore 2:7.0.109-4.el5_2.4z2:7.0.109-4.el5_2.4z
Red Hat:enterprise_linux:5::clientvim-debuginfobefore 2:7.0.109-4.el5_2.4z2:7.0.109-4.el5_2.4z
Red Hat:enterprise_linux:5::clientvim-enhancedbefore 2:7.0.109-4.el5_2.4z2:7.0.109-4.el5_2.4z
Red Hat:enterprise_linux:5::clientvim-minimalbefore 2:7.0.109-4.el5_2.4z2:7.0.109-4.el5_2.4z

+1

Same product

vim: all records

Other highest-scoring records for the same primary product.

  • CVE-2008-2712Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not…
    42Plan
  • CVE-2022-0318Heap-based Buffer Overflow in vim/vim
    40Plan
  • CVE-2019-12735getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via the :source! command…
    40Plan

Published before and after this one in the same product

  • ← EarlierCVE-2008-3294Jul 24, 2008 · src/configure.in in Vim 5.0 through 7.1, when used for a build with Python support, does not ensure that the Makefile-conf temporary file…
    15Monitor
  • Later →CVE-2008-3432Oct 10, 2008 · Heap-based buffer overflow in the mch_expand_wildcards function in os_unix.c in Vim 6.2 and 6.3 allows user-assisted attackers to execute…
    30Monitor
  • Later →CVE-2008-4677Oct 22, 2008 · autoload/netrw.vim (aka the Netrw Plugin) 109, 131, and other versions before 133k for Vim 7.1.266, other 7.1 versions, and 7.2 stores…
    18Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:vim2:7.2.010-1 · Debian:12Package registry (OSV)
red hat:vim2:7.0.109-4.el5_2.4z · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:vim-common2:7.0.109-4.el5_2.4z · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:vim-debuginfo2:7.0.109-4.el5_2.4z · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:vim-enhanced2:7.0.109-4.el5_2.4z · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:vim-minimal2:7.0.109-4.el5_2.4z · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:vim-X112:7.0.109-4.el5_2.4z · Red Hat:enterprise_linux:5::clientPackage registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Exploit-DB entry ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entryremote2008-08-19

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-31 d
  2. Published
  3. TodayNov 16, 2026+6633 d

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

References

All records