Back
CVE-2004-1138
VIM before 6.3 and gVim before 6.3 allow local users to execute arbitrary commands via a file containing a crafted modeline that is…
High7.2EPSS 0.41%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
VIM before 6.3 and gVim before 6.3 allow local users to execute arbitrary commands via a file containing a crafted modeline that is executed when the file is viewed using options such as (1) termcap, (2) printdevice, (3) titleold, (4) filetype, (5) syntax, (6) backupext, (7) keymap, (8) patchmode, or (9) langmenu.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 0.41% · top 65% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.2.
Weakness
- n/a
Affected products
n/a
- affected n/a
References (7)
- OpenPKG-SA-2004.052 (opens in a new tab)vendor-advisoryx_refsource_OPENPKGx_transferred
- GLSA-200412-10 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- vim-modeline-gain-privileges(18503) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- FLSA:2343 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- RHSA-2005:036 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2005:010 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- oval:org.mitre.oval:def:9571 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2004-1138)Record last updated .