CVE-2019-12735
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.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 19.0%, higher than 97% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 3.0
- 8.6 HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- EPSS
- 18.96% probability · 97th percentile
- Public exploits
- 1 in Exploit-DB · first 4 June 2019
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- vim/vim · neovim/neovim
- Source
- cve@mitre.org
EPSS moved from 25.1% on 21 September 2026 to 19.0% on 27 October 2026. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00031.html
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00036.html
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00037.html
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00034.html
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00050.html
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00075.html
- http://www.securityfocus.com/bid/108724
- https://access.redhat.com/errata/RHSA-2019:1619
- https://access.redhat.com/errata/RHSA-2019:1774
- https://access.redhat.com/errata/RHSA-2019:1793
- https://access.redhat.com/errata/RHSA-2019:1947
- https://bugs.debian.org/930020Mailing List, Third Party Advisory
- https://bugs.debian.org/930024Mailing List, Third Party Advisory
- https://github.com/neovim/neovim/pull/10082Patch, Third Party Advisory
- https://github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.mdExploit, Patch, Third Party Advisory
- https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/08/msg00003.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2BMDSHTF754TITC6AQJPCS5IRIDMMIM7/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TRIRBC2YRGKPAWVRMZS4SZTGGCVRVZPR/
- https://seclists.org/bugtraq/2019/Jul/39
- https://seclists.org/bugtraq/2019/Jun/33
- https://security.gentoo.org/glsa/202003-04
- https://support.f5.com/csp/article/K93144355
- https://support.f5.com/csp/article/K93144355?utm_source=f5support&utm_medium=RSS
- https://usn.ubuntu.com/4016-1/
- https://usn.ubuntu.com/4016-2/
- https://www.debian.org/security/2019/dsa-4467
- https://www.debian.org/security/2019/dsa-4487
- https://www.exploit-db.com/exploits/46973
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00031.html
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.