Skip to content
Noroxi
CVE-2008-2712· NVD / CVE Program· CNA mitre

Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not properl

Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not properly sanitize inputs before invoking the execute or system functions, as demonstrated using (1) filetype.vim, (3) xpm.vim, (4) gzip_vim, and (5) netrw. NOTE: the originally reported version was 7.1.314, but the researcher actually found this set of issues in 7.1.298. NOTE: the zipplugin issue (originally vector 2 in this identifier) has been subsumed by CVE-2008-3075.

CriticalCVSS 9.3 · v2.0—Proof of concept Fix available
Published
Jun 16, 2008
Updated
Jun 16, 2026
EPSS
15.0% · 97th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

42

Plan

Add it to your regular patch cycle.

CVSS
37 / 40 · 9.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
5 / 30 · 15.0%

Affected systems

VendorProduct
vimvim
canonicalubuntu linux

Affected versions

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

  • canonical ubuntu linux6.06
  • canonical ubuntu linux7.10
  • canonical ubuntu linux8.04
  • canonical ubuntu linux8.10
  • vim vimup to 6.4 inclusive
  • vim vim7.0 and later · up to 7.1.314 inclusive

Package-level exposure

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

EcosystemPackageAffected rangeFix
Debian:12vimbefore 1:7.1.314-31:7.1.314-3
Debian:4.0vimbefore 1:7.0-122+1etch51:7.0-122+1etch5
Debian:5.0vimbefore 1:7.1.293-3+lenny11:7.1.293-3+lenny1
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

+2

Same product

vim: all records

Other highest-scoring records for the same primary product.

  • 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 i
    40Plan
  • CVE-2017-6350An integer overflow at an unserialize_uep memory allocation site would occur for vim before patch 8.0.0378, if it does not properly validate
    40Plan
  • CVE-2017-6349An integer overflow at a u_read_undo memory allocation site would occur for vim before patch 8.0.0377, if it does not properly validate valu
    40Plan
  • CVE-2017-5953vim before patch 8.0.0322 does not properly validate values for tree length when handling a spell file, which may result in an integer overf
    40Plan
  • CVE-2008-3076The Netrw plugin 125 in netrw.vim in Vim 7.2a.10 allows user-assisted attackers to execute arbitrary code via shell metacharacters in filena
    40Plan

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:vim1:7.1.314-3 · 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 entrylocal2008-06-14

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-3 d
  2. Published
  3. TodaySep 30, 2026+6680 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records