Vulnerabilities · 2019 · Vim
CVE-2019-12735
Vim vulnerability
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.
Affected products
Vim, Neovim. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Vim runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/neovim/neovim/pull/10082 · Patch
- github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.md · Exploit
- github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040 · Patch
- bugs.debian.org/930020 · Third Party Advisory
- bugs.debian.org/930024 · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-06/msg00031.html
- lists.opensuse.org/opensuse-security-announce/2019-06/msg00036.html
- lists.opensuse.org/opensuse-security-announce/2019-06/msg00037.html
- nvd.nist.gov/vuln/detail/CVE-2019-12735
- cve.org/CVERecord?id=CVE-2019-12735
More vulnerabilities in Vim products
CVE-2025-66476CVE-2025-55158CVE-2025-55157CVE-2025-53906CVE-2025-53905CVE-2025-29768CVE-2025-27423CVE-2025-26603All 205
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.