SecurityContext

CVE-2004-1138: VIM - Command Injection

  • Cve: CVE-2004-1138
  • Name: VIM - Command Injection
  • 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.
  • Impact: Local users can execute arbitrary commands, potentially leading to privilege escalation or system compromise.
  • Remediation: Update to version 6.3 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.2
  • Cvss vector: CVSS:2.0/AV:L/AC:L/Au:N/C:C/I:C/A:C
  • Epss score: 0.0041
  • Epss percentile: 0.36
  • Assignee: [email protected]
  • Published at: 2005-01-10T05:00:00Z
  • Age in days: 7988
  • Modified at: 2026-06-16T22:07:06Z
  • Patch available: yes
  • References total: 7
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2004-1138
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
NVD-CWE-Other—

References

Same in every row:

  • Source: nvd
UrlTags
http://www.gentoo.org/security/en/glsa/glsa-200412-10.xmlPatch, Vendor Advisory
http://marc.info/?l=bugtraq&m=110313588125609&w=2
http://www.redhat.com/support/errata/RHSA-2005-010.html
http://www.redhat.com/support/errata/RHSA-2005-036.html
https://bugzilla.fedora.us/show_bug.cgi?id=2343
https://exchange.xforce.ibmcloud.com/vulnerabilities/18503
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9571

Products

ProductAffectedPlatform boundSourcesUrl
vim_development_group:vim= 6.3.044, = 6.3.030, = 6.3.025, = 6.3.011, = 6.2, = 6.1, = 6.0, = 5.8, = 5.7, = 5.6, = 5.5, = 5.4, = 5.3, = 5.2, = 5.1, = 5.0nonvd/v1/products/vim_development_group/vim

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts