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

The Netrw plugin (netrw.vim) in Vim 7.0 and 7.1 allows user-assisted attackers to execute arbitrary commands via shell metacharacters in a f

The Netrw plugin (netrw.vim) in Vim 7.0 and 7.1 allows user-assisted attackers to execute arbitrary commands via shell metacharacters in a filename used by the (1) "D" (delete) command or (2) b:netrw_curdir variable, as demonstrated using the netrw.v4 and netrw.v5 test cases.

CriticalCVSS 9.3 · v2.0—No exploit Fix available
Published
Feb 21, 2009
Updated
Jun 16, 2026
EPSS
3.0% · 87th 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

38

Monitor

Low priority for now.

CVSS
37 / 40 · 9.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.0%

Affected systems

VendorProduct
vimvim

Affected versions

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

  • vim vim7.0
  • vim vim7.1

Package-level exposure

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

EcosystemPackageAffected rangeFix
Debian:12vimbefore 2:7.2.148-12:7.2.148-1
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
Red Hat:enterprise_linux:5::clientvim-X11before 2:7.0.109-4.el5_2.4z2:7.0.109-4.el5_2.4z

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

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.148-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

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

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.

No dated events beyond publication.

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

Attack conditions

    If successful

    Confidentiality
    C · data can be read
    Integrity
    C · data or configuration can be modified
    Availability
    C · the service can be disrupted
    Attack complexity
    M
    Confidentiality impact
    C
    Integrity impact
    C
    Availability impact
    C

    CVSS vector

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

    nvd-primary

    Root cause

    User input is inserted as text into a shell command. The shell may interpret special characters in the input as part of the command.

    A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

    Vulnerable

    ts
    const host = req.body.host;exec("ping -c 1 " + host, onResult);

    Fixed

    ts
    const host = req.body.host;if (!/^[a-z0-9.-]{1,253}$/i.test(host)) return res.sendStatus(400);execFile("ping", ["-c", "1", host], onResult);

    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