CVE-2019-12735

HIGH

Vim < 8.1.1365 - OS Command Injection

Title source: rule
STIX 2.1

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.

Exploits (6)

exploitdb WORKING POC
by Arminius · locallinux
https://www.exploit-db.com/exploits/46973
nomisec WORKING POC 9 stars
by pcy190 · poc
https://github.com/pcy190/ace-vim-neovim
nomisec WORKING POC 2 stars
by oldthree3 · poc
https://github.com/oldthree3/CVE-2019-12735-VIM-NEOVIM
nomisec WORKING POC 1 stars
by nickylimjj · poc
https://github.com/nickylimjj/cve-2019-12735
nomisec WORKING POC
by st9007a · poc
https://github.com/st9007a/CVE-2019-12735
nomisec WRITEUP
by datntsec · poc
https://github.com/datntsec/CVE-2019-12735

References (32)

Core 32
Core References
Vendor Advisory vendor-advisory
https://usn.ubuntu.com/4016-1/
Vendor Advisory vendor-advisory
https://usn.ubuntu.com/4016-2/
Third Party Advisory, VDB Entry vdb-entry
http://www.securityfocus.com/bid/108724
Third Party Advisory vendor-advisory
https://www.debian.org/security/2019/dsa-4467
Mailing List mailing-list
https://seclists.org/bugtraq/2019/Jun/33
Vendor Advisory vendor-advisory
https://access.redhat.com/errata/RHSA-2019:1619
Vendor Advisory vendor-advisory
https://access.redhat.com/errata/RHSA-2019:1774
Vendor Advisory vendor-advisory
https://access.redhat.com/errata/RHSA-2019:1793
Third Party Advisory vendor-advisory
https://www.debian.org/security/2019/dsa-4487
Mailing List mailing-list
https://seclists.org/bugtraq/2019/Jul/39
Vendor Advisory vendor-advisory
https://access.redhat.com/errata/RHSA-2019:1947
Third Party Advisory vendor-advisory
https://security.gentoo.org/glsa/202003-04
Mailing List, Third Party Advisory
https://bugs.debian.org/930020
Mailing List, Third Party Advisory
https://bugs.debian.org/930024
Patch, Third Party Advisory
https://github.com/neovim/neovim/pull/10082
Exploit, Third Party Advisory
https://www.exploit-db.com/exploits/46973

Scores

CVSS v3 8.6
EPSS 0.6461
EPSS Percentile 98.5%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Details

CWE
CWE-78
Status published
Products (2)
neovim/neovim < 0.3.6
vim/vim < 8.1.1365
Published Jun 05, 2019
Tracked Since Feb 18, 2026