CVE-2019-12735getchar.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…
- 8.6HighCVSS base score
- 19.0%Exploitation in 30 daysEPSS · top 2.7% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it.
Show the exploits1
Exploit-DB1 entry
- Vim < 8.1.1365 / Neovim < 0.3.6 - Arbitrary Code Execution (Exploit-DB entry) (opens in a new tab)
EDB-ID 46973local, linuxpublished 4 Jun 2019Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High8.6 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 19.0% · top 2.7% of all CVEs (13 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.6.
Affected products
n/a
- affected n/a
References
References32
- https://github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.md (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/neovim/neovim/pull/10082 (opens in a new tab)x_refsource_MISCx_transferred
- https://bugs.debian.org/930020 (opens in a new tab)x_refsource_MISCx_transferred
- https://bugs.debian.org/930024 (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2019-d79f89346c (opens in a new tab)vendor-advisory
- USN-4016-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- USN-4016-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 108724 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- FEDORA-2019-dcd49378b8 (opens in a new tab)vendor-advisory
- openSUSE-SU-2019:1551 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- openSUSE-SU-2019:1562 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- openSUSE-SU-2019:1561 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- DSA-4467 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 20190624 [SECURITY] [DSA 4467-2] vim regression update (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- https://support.f5.com/csp/article/K93144355 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2019:1619 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:1774 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:1793 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- openSUSE-SU-2019:1759 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- openSUSE-SU-2019:1796 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- DSA-4487 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 20190724 [SECURITY] [DSA 4487-1] neovim security update (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- RHSA-2019:1947 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [debian-lts-announce] 20190803 [SECURITY] [DLA 1871-1] vim security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- openSUSE-SU-2019:1997 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- https://support.f5.com/csp/article/K93144355?utm_source=f5support&utm_medium=RSS (opens in a new tab)
- GLSA-202003-04 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- https://www.exploit-db.com/exploits/46973 (opens in a new tab)
- FEDORA-2019-d79f89346c (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2019-dcd49378b8 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- https://support.f5.com/csp/article/K93144355?utm_source=f5support&%3Butm_medium=RSS (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2019-4324 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2019-12735)Record last updated .