CVE-2019-12735 is a critical arbitrary OS command execution vulnerability affecting Vim before version 8.1.1365 and Neovim before version 0.3.6. This flaw allows remote attackers to execute arbitrary commands through the :source! command within a modeline. With a CVSS score of 8.6 (High), the vulnerability has a low attack complexity and requires user interaction, but can lead to complete compromise of confidentiality, integrity, and availability. While not listed on CISA KEV and showing no active exploitation or community discussion, public exploit code is available on ExploitDB, indicating a potential for future attacks.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 8.1.1365CPE matchmatch criteria | cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* | ||
< 0.3.6CPE matchmatch criteria | cpe:2.3:a:neovim:neovim:*:*:*:*:*:*:*:* |
CVSS version used by this source: 3.0
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.2 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.
CVE-2019-12735
Sep 8, 2020getchar.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.
Jun 11, 2019vim/neovim: ': source!' command allows arbitrary command execution via modelines
Jun 5, 2019