CVE-2019-12735

Summary

CVECVE-2019-12735
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2019-06-05 14:29:00 UTC
Updated2023-11-07 03:03:00 UTC
Descriptiongetchar.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.

Risk And Classification

Problem Types: CWE-78

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Neovim Neovim All All All All
Application Neovim Neovim All All All All
Application Vim Vim All All All All
Application Vim Vim All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 30 Update: vim-8.1.1471-1.fc30 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
USN-4016-1: Vim vulnerabilities | Ubuntu security notices UBUNTU usn.ubuntu.com
[security-announce] openSUSE-SU-2019:1561-1: important: Security update SUSE lists.opensuse.org
security/2019-06-04_ace-vim-neovim.md at master · numirias/security · GitHub MISC github.com Exploit, Patch, Third Party Advisory
USN-4016-2: Neovim vulnerability | Ubuntu security notices UBUNTU usn.ubuntu.com
#930024 - neovim: CVE-2019-12735: Modelines allow arbitrary code execution - Debian Bug report logs MISC bugs.debian.org Mailing List, Third Party Advisory
[security-announce] openSUSE-SU-2019:1551-1: important: Security update SUSE lists.opensuse.org
Red Hat Customer Portal REDHAT access.redhat.com
Debian -- Security Information -- DSA-4467-1 vim DEBIAN www.debian.org
[SECURITY] [DLA 1871-1] vim security update MLIST lists.debian.org
[security-announce] openSUSE-SU-2019:1796-1: important: Security update SUSE lists.opensuse.org
patch 8.1.1365: source command doesn't check for the sandbox · vim/vim@5357552 · GitHub MISC github.com Patch, Third Party Advisory
support.f5.com/csp/article/K93144355 CONFIRM support.f5.com
Red Hat Customer Portal REDHAT access.redhat.com
[SECURITY] Fedora 29 Update: vim-8.1.1471-1.fc29 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
#930020 - vim: CVE-2019-12735: Modelines allow arbitrary code execution - Debian Bug report logs MISC bugs.debian.org Mailing List, Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com
Vim and Neovim CVE-2019-12735 Arbitrary Code Execution Vulnerability BID www.securityfocus.com
[SECURITY] Fedora 30 Update: vim-8.1.1471-1.fc30 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[security-announce] openSUSE-SU-2019:1562-1: important: Security update SUSE lists.opensuse.org
support.f5.com/csp/article/K93144355 CONFIRM support.f5.com
Debian -- Security Information -- DSA-4487-1 neovim DEBIAN www.debian.org
Red Hat Customer Portal REDHAT access.redhat.com
Vim, gVim: Remote execution of arbitrary code (GLSA 202003-04) — Gentoo security GENTOO security.gentoo.org
myF5 support.f5.com
[security-announce] openSUSE-SU-2019:1759-1: important: Security update SUSE lists.opensuse.org
[security-announce] openSUSE-SU-2019:1997-1: important: Security update SUSE lists.opensuse.org
Bugtraq: [SECURITY] [DSA 4467-2] vim regression update BUGTRAQ seclists.org
vim-patch:8.1.1365: :source should check sandbox by justinmk · Pull Request #10082 · neovim/neovim · GitHub MISC github.com Patch, Third Party Advisory
Bugtraq: [SECURITY] [DSA 4487-1] neovim security update BUGTRAQ seclists.org
[SECURITY] Fedora 29 Update: vim-8.1.1471-1.fc29 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 296081 Oracle Solaris 11.4 Support Repository Update (SRU) 12.5.0 Missing (CPUJUL2019)
  • 376997 Alibaba Cloud Linux Security Update for vim (ALINUX2-SA-2019:0040)
  • 377350 Alibaba Cloud Linux Security Update for vim (ALINUX3-SA-2022:0031)
  • 378322 Virtuozzo Linux Security Update for vim-X11 (VZLSA-2019:1774)
  • 500724 Alpine Linux Security Update for vim
  • 501092 Alpine Linux Security Update for neovim
  • 504498 Alpine Linux Security Update for vim
  • 690708 Free Berkeley Software Distribution (FreeBSD) Security Update for vim/neovim (bbdb9713-8e09-11e9-87bc-002590acae31)
  • 900052 CBL-Mariner Linux Security Update for vim 8.1.0388
  • 903016 Common Base Linux Mariner (CBL-Mariner) Security Update for vim (2661)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report