RCE in Neovim
CVE-2019-12735
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.6 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.190 (97.2th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 97.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.190 · newest: 0.190 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.md (Exploit, Patch, Third Party Advisory)
- github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040 (Patch, Third Party Advisory)
- github.com/neovim/neovim/pull/10082 (Patch, Third Party Advisory)
- bugs.debian.org/930020 (Mailing List, Third Party Advisory)
- bugs.debian.org/930024 (Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- usn.ubuntu.com/4016-1/ (vendor-advisory)
- usn.ubuntu.com/4016-2/ (vendor-advisory)
- www.securityfocus.com/bid/108724 (vdb-entry)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2019-12735?
- CVE-2019-12735 is a high-severity vulnerability in Neovim, classified under OS Command Injection. CVSS score: 8.6/10. Published 2019-06-05.
- How severe is CVE-2019-12735?
- High severity. CVSS v3 base score is 8.6 out of 10.
- Is CVE-2019-12735 known to be exploited?
- 19 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.