CVEfocus › CVE database › CVE-2019-12735

CVE-2019-12735

CVSS 8.6 HighEPSS 19.0% (higher than 97% of CVEs)Published 2019-06-05Updated 2025-11-11Assigner: mitre

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.

What to do

Likely to be exploited: EPSS gives a 19% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

59Fixed
1Fix pending
1Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04neovimNot affected
vulnerable_code_not_present
Ubuntu 20.04neovimNot affected
vulnerable_code_not_present
Ubuntu 18.04neovimFix pending0.2.2-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2019-12735
Ubuntu 18.04vimFixed2:8.0.1453-1ubuntu1.1UBUNTU-CVE-2019-12735
Ubuntu 16.04vimFixed2:7.4.1689-3ubuntu1.3UBUNTU-CVE-2019-12735
Debian 14neovimFixed0.3.4-3DEBIAN-CVE-2019-12735
Debian 14vimFixed2:8.1.0875-4DEBIAN-CVE-2019-12735
Debian 13neovimFixed0.3.4-3DEBIAN-CVE-2019-12735
Debian 13vimFixed2:8.1.0875-4DEBIAN-CVE-2019-12735
Debian 12neovimFixed0.3.4-3DEBIAN-CVE-2019-12735
Debian 12vimFixed2:8.1.0875-4DEBIAN-CVE-2019-12735
Red Hat Enterprise Linux 8vimFixed2:8.0.1763-11.el8_0RHSA-2019:1619
Red Hat Enterprise Linux 8vim-X11Fixed2:8.0.1763-11.el8_0RHSA-2019:1619
Red Hat Enterprise Linux 8vim-commonFixed2:8.0.1763-11.el8_0RHSA-2019:1619
Red Hat Enterprise Linux 8vim-enhancedFixed2:8.0.1763-11.el8_0RHSA-2019:1619
Red Hat Enterprise Linux 8vim-filesystemFixed2:8.0.1763-11.el8_0RHSA-2019:1619
Red Hat Enterprise Linux 8vim-minimalFixed2:8.0.1763-11.el8_0RHSA-2019:1619
Red Hat Enterprise Linux 7vimFixed2:7.4.160-6.el7_6RHSA-2019:1619
Red Hat Enterprise Linux 7vim-X11Fixed2:7.4.160-6.el7_6RHSA-2019:1619
Red Hat Enterprise Linux 7vim-commonFixed2:7.4.160-6.el7_6RHSA-2019:1619
Red Hat Enterprise Linux 7vim-enhancedFixed2:7.4.160-6.el7_6RHSA-2019:1619
Red Hat Enterprise Linux 7vim-filesystemFixed2:7.4.160-6.el7_6RHSA-2019:1619
Red Hat Enterprise Linux 7vim-minimalFixed2:7.4.160-6.el7_6RHSA-2019:1619
Red Hat Enterprise Linux 6vimFixed2:7.4.629-5.el6_10.2RHSA-2019:1774
Red Hat Enterprise Linux 6vim-X11Fixed2:7.4.629-5.el6_10.2RHSA-2019:1774
Red Hat Enterprise Linux 6vim-commonFixed2:7.4.629-5.el6_10.2RHSA-2019:1774
Red Hat Enterprise Linux 6vim-enhancedFixed2:7.4.629-5.el6_10.2RHSA-2019:1774
Red Hat Enterprise Linux 6vim-filesystemFixed2:7.4.629-5.el6_10.2RHSA-2019:1774
Red Hat Enterprise Linux 6vim-minimalFixed2:7.4.629-5.el6_10.2RHSA-2019:1774
Red Hat Enterprise Linux 5vimWill not fix
Out of support scope
Alpine Linux 3.24neovimFixed0.3.6-r0ALPINE-CVE-2019-12735
Alpine Linux 3.24vimFixed8.1.1365-r0ALPINE-CVE-2019-12735
Alpine Linux 3.23neovimFixed0.3.6-r0ALPINE-CVE-2019-12735
Alpine Linux 3.23vimFixed8.1.1365-r0ALPINE-CVE-2019-12735
Alpine Linux 3.22neovimFixed0.3.6-r0ALPINE-CVE-2019-12735
Alpine Linux 3.22vimFixed8.1.1365-r0ALPINE-CVE-2019-12735
Alpine Linux 3.21neovimFixed0.3.6-r0ALPINE-CVE-2019-12735
Alpine Linux 3.21vimFixed8.1.1365-r0ALPINE-CVE-2019-12735
Alpine Linux 3.20neovimFixed0.3.6-r0ALPINE-CVE-2019-12735
Alpine Linux 3.20vimFixed8.1.1365-r0ALPINE-CVE-2019-12735
Alpine Linux 3.19neovimFixed0.3.6-r0ALPINE-CVE-2019-12735
Alpine Linux 3.19vimFixed8.1.1365-r0ALPINE-CVE-2019-12735
Alpine Linux 3.18neovimFixed0.3.6-r0ALPINE-CVE-2019-12735
Alpine Linux 3.18vimFixed8.1.1365-r0ALPINE-CVE-2019-12735
Alpine Linux 3.17neovimFixed0.3.6-r0ALPINE-CVE-2019-12735
Alpine Linux 3.17vimFixed8.1.1365-r0ALPINE-CVE-2019-12735
Alpine Linux 3.16neovimFixed0.3.6-r0ALPINE-CVE-2019-12735
Alpine Linux 3.16vimFixed8.1.1365-r0ALPINE-CVE-2019-12735
Alpine Linux 3.15neovimFixed0.3.6-r0ALPINE-CVE-2019-12735
Alpine Linux 3.15vimFixed8.1.1365-r0ALPINE-CVE-2019-12735
Alpine Linux 3.14neovimFixed0.3.6-r0ALPINE-CVE-2019-12735
Alpine Linux 3.14vimFixed8.1.1365-r0ALPINE-CVE-2019-12735
Alpine Linux 3.13neovimFixed0.3.6-r0ALPINE-CVE-2019-12735
Alpine Linux 3.13vimFixed8.1.1365-r0ALPINE-CVE-2019-12735
Alpine Linux 3.12neovimFixed0.3.6-r0ALPINE-CVE-2019-12735
Alpine Linux 3.12vimFixed8.1.1365-r0ALPINE-CVE-2019-12735
Alpine Linux 3.11neovimFixed0.3.6-r0ALPINE-CVE-2019-12735
Alpine Linux 3.11vimFixed8.1.1365-r0ALPINE-CVE-2019-12735
Alpine Linux 3.10neovimFixed0.3.6-r0ALPINE-CVE-2019-12735
Alpine Linux 3.10vimFixed8.1.1365-r0ALPINE-CVE-2019-12735
Alpine Linux 3.9vimFixed8.1.1365-r0ALPINE-CVE-2019-12735
Alpine Linux 3.8vimFixed8.1.1365ALPINE-CVE-2019-12735
Alpine Linux 3.7vimFixed8.0.1359-r2ALPINE-CVE-2019-12735

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.