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)

EPSS: 0.191 (97.0th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.