Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2008-2712: Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not…

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

Noroxi assessment

Priority: Plan (action score 42/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: 15% (FIRST EPSS); higher than 96.7% of all records.
  • Fixed version: vim (Debian:12) 1:7.1.314-3; vim (Debian:4.0) 1:7.0-122+1etch5; vim (Debian:5.0) 1:7.1.293-3+lenny1.

Add it to your regular patch cycle. Upgrade to vim (Debian:12) 1:7.1.314-3; vim (Debian:4.0) 1:7.0-122+1etch5; vim (Debian:5.0) 1:7.1.293-3+lenny1 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 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.

Published
Jun 16, 2008
Updated
Jun 16, 2026
EPSS
15.0% · 96th percentile

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%

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-2712

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
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…
    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…
    40Plan

Published before and after this one in the same product

  • Later →CVE-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-4101Sep 18, 2008 · 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…
    40Plan
  • 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

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. TodayNov 16, 2026+6726 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