SecurityContext

CVE-2019-12735: Vim & Neovim - Command Injection

  • Cve: CVE-2019-12735
  • Name: Vim & Neovim - Command Injection
  • Description: getchar.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 in a modeline, as demonstrated by execute in Vim, and assert_fails or nvim_input in Neovim.
  • Impact: Remote attackers can execute arbitrary OS commands on the affected system, potentially leading to full system compromise.
  • Remediation: Update Vim to version 8.1.1365 or later and Neovim to version 0.3.6 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.6
  • Cvss vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
  • Epss score: 0.18964
  • Epss percentile: 0.9737
  • Assignee: [email protected]
  • Published at: 2019-06-05T14:29:11Z
  • Age in days: 2729
  • Modified at: 2026-06-17T02:15:20Z
  • Patch available: yes
  • Public exploits total: 6
  • References total: 32
  • Products total: 2
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-12735
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

Public exploits

UrlSourceAdded date
https://github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.mdnvd2019-06-05
https://github.com/st9007a/CVE-2019-12735poc-in-github2022-07-26
https://github.com/nickylimjj/cve-2019-12735poc-in-github2021-05-20
https://github.com/datntsec/CVE-2019-12735poc-in-github2020-10-26
https://github.com/oldthree3/CVE-2019-12735-VIM-NEOVIMpoc-in-github2019-06-18

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/neovim/neovim/pull/10082Patch, Third Party Advisory
https://github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.mdExploit, Patch, Third Party Advisory
https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040Patch, Third Party Advisory
https://bugs.debian.org/930020Mailing List, Third Party Advisory
https://bugs.debian.org/930024Mailing List, Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00031.html
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00036.html
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00037.html
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00034.html
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00050.html

Products

ProductAffectedPlatform boundSourcesUrl
vim:vim< 8.1.1365nonvd/v1/products/vim/vim
neovim:neovim< 0.3.6nonvd/v1/products/neovim/neovim

Projects

RepositoryLink kindsIndexedUrl
neovim/neovimpullyes/v1/repositories/neovim/neovim
vim/vimcommityes/v1/repositories/vim/vim

Index

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

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 6
  • Public exploit first date: 2019-06-05
  • Exposed hosts: 365
  • Checked, none or zero: known exploited, known exploited by, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports