CVE-2008-3075: The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the "!"…
Noroxi assessment
Priority: Monitor (action score 38/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 4.2% (FIRST EPSS); higher than 91.2% 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:5::client) 2:7.0.109-4.el5_2.4z.
Low priority for now. Upgrade to vim (Debian:12) 2:7.2.010-1; vim (Debian:4.0) 1:7.0-122+1etch5; vim (Red Hat:enterprise_linux:5::client) 2:7.0.109-4.el5_2.4z 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
The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the "!" (exclamation point) shell metacharacter in (1) the filename of a ZIP archive and possibly (2) the filename of the first file in a ZIP archive, which is not properly handled by zip.vim in the VIM ZIP plugin (zipPlugin.vim) v.11 through v.21, as demonstrated by the zipplugin and zipplugin.v2 test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712. NOTE: this issue has the same root cause as CVE-2008-3074. NOTE: due to the complexity of the associated disclosures and the incomplete information related to them, there may be inaccuracies in this CVE description and in external mappings to this identifier.
- Published
- Feb 21, 2009
- Updated
- Jun 16, 2026
- EPSS
- 4.2% · 91th percentile
- CWE
- CWE-94
Report tools
Action score
38
Low priority for now.
- CVSS
- 37 / 40 · 9.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.2%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi 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 helpAffected 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.
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
- vim vim7.1.266
- vim vim7.1.314
- vim vim7.2
- vim vim7.2a.10
- vim zipplugin.vimv.11
- vim zipplugin.vimv.12
+9 more rows
- vim zipplugin.vimv.13
- vim zipplugin.vimv.14
- vim zipplugin.vimv.15
- vim zipplugin.vimv.16
- vim zipplugin.vimv.17
- vim zipplugin.vimv.18
- vim zipplugin.vimv.19
- vim zipplugin.vimv.20
- vim zipplugin.vimv.21
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | vim | before 2:7.2.010-1 | 2:7.2.010-1 |
| Debian:4.0 | vim | before 1:7.0-122+1etch5 | 1:7.0-122+1etch5 |
| Red Hat:enterprise_linux:5::client | vim | before 2:7.0.109-4.el5_2.4z | 2:7.0.109-4.el5_2.4z |
| Red Hat:enterprise_linux:5::client | vim-common | before 2:7.0.109-4.el5_2.4z | 2:7.0.109-4.el5_2.4z |
| Red Hat:enterprise_linux:5::client | vim-debuginfo | before 2:7.0.109-4.el5_2.4z | 2:7.0.109-4.el5_2.4z |
| Red Hat:enterprise_linux:5::client | vim-enhanced | before 2:7.0.109-4.el5_2.4z | 2:7.0.109-4.el5_2.4z |
| Red Hat:enterprise_linux:5::client | vim-minimal | before 2:7.0.109-4.el5_2.4z | 2:7.0.109-4.el5_2.4z |
| Red Hat:enterprise_linux:5::client | vim-X11 | before 2:7.0.109-4.el5_2.4z | 2:7.0.109-4.el5_2.4z |
Same product
vim: all recordsOther 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/vim40Plan
- 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-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
- ← EarlierCVE-2009-0316Jan 28, 2009 · Untrusted search path vulnerability in src/if_python.c in the Python interface in Vim before 7.2.045 allows local users to execute…28Monitor
- Later →CVE-2008-3076Feb 21, 2009 · The Netrw plugin 125 in netrw.vim in Vim 7.2a.10 allows user-assisted attackers to execute arbitrary code via shell metacharacters in…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 / package | Fixed version | Source |
|---|---|---|
| debian:vim | 2:7.2.010-1 · Debian:12 | Package registry (OSV) |
| red hat:vim | 2:7.0.109-4.el5_2.4z · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:vim-common | 2:7.0.109-4.el5_2.4z · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:vim-debuginfo | 2:7.0.109-4.el5_2.4z · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:vim-enhanced | 2:7.0.109-4.el5_2.4z · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:vim-minimal | 2:7.0.109-4.el5_2.4z · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:vim-X11 | 2:7.0.109-4.el5_2.4z · Red Hat:enterprise_linux:5::client | Package 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.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
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
Weakness class (CWE)
CWE-94 · Improper Control of Generation of Code ('Code Injection')CVSS vector
AV:N/AC:M/Au:N/C:C/I:C/A:C
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (17 more)Show less
- lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html
- marc.info/?l=bugtraq&m=121494431426308&w=2
- secunia.com/advisories/34418
- wiki.rpath.com/wiki/Advisories:rPSA-2008-0324
- www.mandriva.com/security/advisories?name=MDVSA-2008:236
- www.openwall.com/lists/oss-security/2008/07/07/4
- www.openwall.com/lists/oss-security/2008/07/08/12
- www.openwall.com/lists/oss-security/2008/07/10/7
- www.openwall.com/lists/oss-security/2008/07/13/1
- www.openwall.com/lists/oss-security/2008/07/15/4
- www.openwall.com/lists/oss-security/2008/08/01/1
- www.openwall.com/lists/oss-security/2008/10/15/1
- www.openwall.com/lists/oss-security/2008/10/20/2
- www.redhat.com/support/errata/RHSA-2008-0580.html
- www.securityfocus.com/bid/32463
- bugzilla.redhat.com/show_bug.cgi?id=467432
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10246
Vendor advisories and official records. Exploit/PoC links are deliberately left out.