{"id":"CVE-2019-12735","published":"2019-06-05T13:07:48Z","modified":"2025-11-11T16:50:16Z","title":"getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.18964,"percentile":0.97368,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.md","tags":[]},{"url":"https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040","tags":[]},{"url":"https://github.com/neovim/neovim/pull/10082","tags":[]},{"url":"https://bugs.debian.org/930020","tags":[]},{"url":"https://bugs.debian.org/930024","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2BMDSHTF754TITC6AQJPCS5IRIDMMIM7/","tags":["vendor-advisory"]},{"url":"https://usn.ubuntu.com/4016-1/","tags":["vendor-advisory"]},{"url":"https://usn.ubuntu.com/4016-2/","tags":["vendor-advisory"]},{"url":"http://www.securityfocus.com/bid/108724","tags":["vdb-entry"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TRIRBC2YRGKPAWVRMZS4SZTGGCVRVZPR/","tags":["vendor-advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00031.html","tags":["vendor-advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00036.html","tags":["vendor-advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00037.html","tags":["vendor-advisory"]},{"url":"https://www.debian.org/security/2019/dsa-4467","tags":["vendor-advisory"]},{"url":"https://seclists.org/bugtraq/2019/Jun/33","tags":["mailing-list"]},{"url":"https://support.f5.com/csp/article/K93144355","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2019:1619","tags":["vendor-advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1774","tags":["vendor-advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1793","tags":["vendor-advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00034.html","tags":["vendor-advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00050.html","tags":["vendor-advisory"]},{"url":"https://www.debian.org/security/2019/dsa-4487","tags":["vendor-advisory"]},{"url":"https://seclists.org/bugtraq/2019/Jul/39","tags":["mailing-list"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1947","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/08/msg00003.html","tags":["mailing-list"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00075.html","tags":["vendor-advisory"]},{"url":"https://support.f5.com/csp/article/K93144355?utm_source=f5support&amp;utm_medium=RSS","tags":[]},{"url":"https://security.gentoo.org/glsa/202003-04","tags":["vendor-advisory"]},{"url":"https://www.exploit-db.com/exploits/46973","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2BMDSHTF754TITC6AQJPCS5IRIDMMIM7/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TRIRBC2YRGKPAWVRMZS4SZTGGCVRVZPR/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://support.f5.com/csp/article/K93144355?utm_source=f5support&amp%3Butm_medium=RSS","tags":["x_refsource_CONFIRM","x_transferred"]}],"priority":{"score":24.5,"factors":[{"name":"EPSS percentile","points":19.47},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2019-06-04"},"pocGithub":{"count":4,"skipped":1,"earliest":"2019-06-06","earliestUrl":"https://github.com/pcy190/ace-vim-neovim","repos":[{"name":"pcy190/ace-vim-neovim","url":"https://github.com/pcy190/ace-vim-neovim","stars":9,"created":"2019-06-06"},{"name":"oldthree3/CVE-2019-12735-VIM-NEOVIM","url":"https://github.com/oldthree3/CVE-2019-12735-VIM-NEOVIM","stars":2,"created":"2019-06-18"},{"name":"nickylimjj/cve-2019-12735","url":"https://github.com/nickylimjj/cve-2019-12735","stars":1,"created":"2021-05-20"},{"name":"st9007a/CVE-2019-12735","url":"https://github.com/st9007a/CVE-2019-12735","stars":0,"created":"2022-07-26"}]},"first":{"date":"2019-06-04","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/46973"},"provenance":"source"},"summary":{"text":"The flaw is in getchar.c, a component of Vim (before 8.1.1365) and Neovim (before 0.3.6), where improper handling of input lets the :source! command be triggered from a modeline.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:46:44Z"},"euvd":{"id":"EUVD-2019-4324","exploited":false,"provenance":"source"},"exploits":[{"id":46973,"url":"https://www.exploit-db.com/exploits/46973","title":"Vim < 8.1.1365 / Neovim < 0.3.6 - Arbitrary Code Execution","date":"2019-06-04","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/46973"]}