CVE-2019-12735: neovim OS Command Injection
CVSS: 9.3v2.0HighModified
AliasesALPINE-CVE-2019-12735MGASA-2020-0082SUSE-SU-2019:14078-1SUSE-SU-2019:1456-1SUSE-SU-2019:1457-1openSUSE-SU-2019:1551-1openSUSE-SU-2019:1796-1openSUSE-SU-2019:1997-1RHSA-2019:1619RHSA-2019:1774RHSA-2019:1793RHSA-2019:1947UBUNTU-CVE-2019-12735USN-4862-1DEBIAN-CVE-2019-12735DSA-4467-1DSA-4487-1openSUSE-SU-2019:1561-1openSUSE-SU-2019:1759-1
Published 05-06-2019Last modified 11-11-2025
Vulnerability summary
CVE-2019-12735 is a high (CVSS 9.3) OS Command Injection vulnerability in neovim. EPSS estimates a 18.96% chance of exploitation in the next 30 days, higher than 97.2% of scored vulnerabilities. 2 public exploits are recorded.
CVSS score
9.3/10
010
High · v2.0 (NVD)EPSS score
18.96%
0%100%
Medium · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2github, exploit-database
Advisory lineage
Upstream 0 · Downstream 4 · Related 3Timeline
- 05-06-2019PublishedVulnerability first disclosed.
- 11-11-2025Last modifiedVulnerability information updated.
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 metrics
6 scores · 5 sources · 3 versionsMedium 5.3Preferred score · OSV · Red hat (Ecosystem advisory) · calculated from vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:LSourcesSingle source
High 8.6Preferred score · NVD (NIST)
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HSourcesAll 4 agree
- OSV · AlpineEcosystem advisory · calculated8.6HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.6HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.6HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
High 9.3Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:C/I:C/A:CSourcesSingle source
EPSS trend
Probability
18.96%
Chance of exploitation in the next 30 days
Percentile
97%
Versus all other CVEs
30-day change
0.00 pp
From 18.96% on 18-09-2026
18-09-202618-10-2026
EPSS score18.96%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundSecurity
Maturity: poc
Vim < 8.1.1365 / Neovim < 0.3.6 - Arbitrary Code Execution
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Suse22 products
- neovim&distro=SUSE Package Hub 15< 0.3.7-bp150.2.9.1 | < 0.3.1-bp150.2.6.1
- neovim&distro=SUSE Package Hub 15 SP1< 0.3.7-bp151.3.3.1
- vim&distro=SUSE Enterprise Storage 4< 7.4.326-17.3.1
- vim&distro=SUSE Linux Enterprise Desktop 12 SP3< 7.4.326-17.3.1
- vim&distro=SUSE Linux Enterprise Desktop 12 SP4< 7.4.326-17.3.1
Redhat12 products
- vim< 2:7.4.160-6.el7_6 | < 2:8.0.1763-11.el8_0 | < 2:7.4.629-5.el6_10.2 | < 2:7.4.160-4.el7_5.1 | < 2:7.4.160-2.el7_4.1
- vim-common< 2:7.4.160-6.el7_6 | < 2:8.0.1763-11.el8_0 | < 2:7.4.629-5.el6_10.2 | < 2:7.4.160-4.el7_5.1 | < 2:7.4.160-2.el7_4.1
- vim-common-debuginfo< 2:8.0.1763-11.el8_0
- vim-debuginfo< 2:7.4.160-6.el7_6 | < 2:8.0.1763-11.el8_0 | < 2:7.4.629-5.el6_10.2 | < 2:7.4.160-4.el7_5.1 | < 2:7.4.160-2.el7_4.1
- vim-debugsource< 2:8.0.1763-11.el8_0
Opensuse4 products
- neovim&distro=openSUSE Leap 15.0< 0.3.1-bp150.2.6.1 | < 0.3.7-lp151.2.7.1
- neovim&distro=openSUSE Leap 15.1< 0.3.1-bp150.2.6.1 | < 0.3.7-lp151.2.7.1
- vim&distro=openSUSE Leap 15.0< 8.0.1568-lp151.5.3.1
- vim&distro=openSUSE Leap 15.1< 8.0.1568-lp151.5.3.1
Debian2 products
- neovim< 0.3.4-3 | < 0.1.7-4+deb9u1
- vim< 2:8.1.0875-4 | < 2:8.0.0197-4+deb9u2
Mageia2 products
- neovim< 0.3.7-1.mga7
- vim< 8.1.1048-1.1.mga7
Ubuntu2 products
- neovim< 0.2.2-3ubuntu0.1~esm1
- vim< 2:7.4.1689-3ubuntu1.3 | < 2:8.0.1453-1ubuntu1.1
Alpine1 product
- vim< 8.1.1365-r0 | < 8.0.1359-r2 | < 8.1.1365
Neovim1 product
- neovim< 0.3.6
Vim1 product
- vim< 8.1.1365
9 vendors · 47 products
References
60 links- github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.mdExploitPatchThird Party AdvisoryREPORT
- lists.fedoraproject.org/archives/…Vendor Advisory
- usn.ubuntu.com/4016-1/Vendor Advisory
- usn.ubuntu.com/4016-2/Vendor Advisory
- www.securityfocus.com/bid/108724VDB Entry
- lists.fedoraproject.org/archives/…Vendor Advisory
Show all 60 references
- www.debian.org/security/2019/dsa-4467Vendor Advisory
- seclists.org/bugtraq/2019/Jun/33Mailing List
- www.debian.org/security/2019/dsa-4487Vendor Advisory
- seclists.org/bugtraq/2019/Jul/39Mailing List
- security.gentoo.org/glsa/202003-04Vendor Advisory
- support.f5.com/csp/article/K93144355?utm_source=f5support&%3Butm_medium=RSSX Refsource CONFIRMX Transferred
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory