# 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!

- Severity: High 8.6 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 19.0%, higher than 97% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2019-06-05T13:07:48.000Z
- Modified: 2026-06-17T02:15:20.533Z
- Weaknesses: CWE-78
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- vim vim: before 8.1.1365
- neovim neovim: before 0.3.6

## Every score

- NVD: CVSS:3.0 8.6 High `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.3 High `AV:N/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.md> (exploit, patch, third-party-advisory)
- <https://www.exploit-db.com/exploits/46973> (exploit)
- <https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040> (patch, third-party-advisory)
- <https://github.com/neovim/neovim/pull/10082> (patch, third-party-advisory)
- <https://bugs.debian.org/930020> (mailing-list, third-party-advisory)
- <https://bugs.debian.org/930024> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2BMDSHTF754TITC6AQJPCS5IRIDMMIM7/> (vendor-advisory)
- <https://usn.ubuntu.com/4016-1/> (vendor-advisory)
- <https://usn.ubuntu.com/4016-2/> (vendor-advisory)
- <http://www.securityfocus.com/bid/108724> (vdb-entry)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TRIRBC2YRGKPAWVRMZS4SZTGGCVRVZPR/> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00031.html> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00036.html> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00037.html> (vendor-advisory)
- <https://www.debian.org/security/2019/dsa-4467> (vendor-advisory)
- <https://seclists.org/bugtraq/2019/Jun/33> (mailing-list)
- <https://support.f5.com/csp/article/K93144355>
- <https://access.redhat.com/errata/RHSA-2019:1619> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2019:1774> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2019:1793> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00034.html> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00050.html> (vendor-advisory)
- <https://www.debian.org/security/2019/dsa-4487> (vendor-advisory)
- <https://seclists.org/bugtraq/2019/Jul/39> (mailing-list)
- <https://access.redhat.com/errata/RHSA-2019:1947> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2019/08/msg00003.html> (mailing-list)
- <http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00075.html> (vendor-advisory)
- <https://support.f5.com/csp/article/K93144355?utm_source=f5support&amp;utm_medium=RSS>
- <https://security.gentoo.org/glsa/202003-04> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2BMDSHTF754TITC6AQJPCS5IRIDMMIM7/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TRIRBC2YRGKPAWVRMZS4SZTGGCVRVZPR/> (vendor-advisory)
- <https://support.f5.com/csp/article/K93144355?utm_source=f5support&amp%3Butm_medium=RSS>

## Sources

- CVE List: [CVE-2019-12735](https://www.cve.org/CVERecord?id=CVE-2019-12735), CVE Terms of Use, modified 2025-11-11
- NVD: [CVE-2019-12735](https://nvd.nist.gov/vuln/detail/CVE-2019-12735), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-12735 · Whole record: https://cve.day/CVE-2019-12735.json · Rebuilt by cve.day 2026-11-25T22:57:45.073Z
