# CVE-2019-12735: neovim: getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via...

CVE-2019-12735 is fixed in 17 products on 1 platform, first by neovim 0.2.2-3ubuntu0.1~esm1, released June 4, 2019. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2019-12735
- Priority: High
- CVSS: 8.6 (Medium)
- EPSS: 0.1896
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 4, 2019

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | neovim Ubuntu 18.04.6 LTS (bionic) | 0.2.2-3ubuntu0.1~esm1 | [neovim 0.2.2-3ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-neovim-0.2.2-3ubuntu0.1-esm1.md) | Jun 4, 2019 |
| Linux | neovim-runtime Ubuntu 18.04.6 LTS (bionic) | 0.2.2-3ubuntu0.1~esm1 | [neovim-runtime 0.2.2-3ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-neovim-runtime-0.2.2-3ubuntu0.1-esm1.md) | Jun 4, 2019 |
| Linux | vim Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.1 | [vim 2:8.0.1453-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-2-8.0.1453-1ubuntu1.1.md) | Jun 4, 2019 |
| Linux | vim-X11 RHEL 8 | 2:8.0.1763-11.el8_0 | [RHSA-2019:1619](https://patchblox.com/security/data/fix/linux/rhsa-2019-1619.md) | Jun 27, 2019 |
| Linux | vim-X11 ol 8 | 2:8.0.1763-11.el8_0 | [ELSA-2019-1619](https://patchblox.com/security/data/fix/linux/elsa-2019-1619.md) | Jul 18, 2019 |
| Linux | vim-athena Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.1 | [vim-athena 2:8.0.1453-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-athena-2-8.0.1453-1ubuntu1.1.md) | Jun 4, 2019 |
| Linux | vim-common RHEL 8 | 2:8.0.1763-11.el8_0 | [RHSA-2019:1619](https://patchblox.com/security/data/fix/linux/rhsa-2019-1619.md) | Jun 27, 2019 |
| Linux | vim-common Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.1 | [vim-common 2:8.0.1453-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-common-2-8.0.1453-1ubuntu1.1.md) | Jun 4, 2019 |
| Linux | vim-common ol 8 | 2:8.0.1763-11.el8_0 | [ELSA-2019-1619](https://patchblox.com/security/data/fix/linux/elsa-2019-1619.md) | Jul 18, 2019 |
| Linux | vim-enhanced RHEL 8 | 2:8.0.1763-11.el8_0 | [RHSA-2019:1619](https://patchblox.com/security/data/fix/linux/rhsa-2019-1619.md) | Jun 27, 2019 |
| Linux | vim-enhanced ol 8 | 2:8.0.1763-11.el8_0 | [ELSA-2019-1619](https://patchblox.com/security/data/fix/linux/elsa-2019-1619.md) | Jul 18, 2019 |
| Linux | vim-filesystem RHEL 8 | 2:8.0.1763-11.el8_0 | [RHSA-2019:1619](https://patchblox.com/security/data/fix/linux/rhsa-2019-1619.md) | Jun 27, 2019 |
| Linux | vim-filesystem ol 8 | 2:8.0.1763-11.el8_0 | [ELSA-2019-1619](https://patchblox.com/security/data/fix/linux/elsa-2019-1619.md) | Jul 18, 2019 |
| Linux | vim-gnome Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.1 | [vim-gnome 2:8.0.1453-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-gnome-2-8.0.1453-1ubuntu1.1.md) | Jun 4, 2019 |
| Linux | vim-gtk Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.1 | [vim-gtk 2:8.0.1453-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-gtk-2-8.0.1453-1ubuntu1.1.md) | Jun 4, 2019 |
| Linux | vim-gtk3 Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.1 | [vim-gtk3 2:8.0.1453-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-gtk3-2-8.0.1453-1ubuntu1.1.md) | Jun 4, 2019 |
| Linux | vim-gui-common Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.1 | [vim-gui-common 2:8.0.1453-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-gui-common-2-8.0.1453-1ubuntu1.1.md) | Jun 4, 2019 |
| Linux | vim-minimal RHEL 8 | 2:8.0.1763-11.el8_0 | [RHSA-2019:1619](https://patchblox.com/security/data/fix/linux/rhsa-2019-1619.md) | Jun 27, 2019 |
| Linux | vim-minimal ol 8 | 2:8.0.1763-11.el8_0 | [ELSA-2019-1619](https://patchblox.com/security/data/fix/linux/elsa-2019-1619.md) | Jul 18, 2019 |
| Linux | vim-nox Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.1 | [vim-nox 2:8.0.1453-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-nox-2-8.0.1453-1ubuntu1.1.md) | Jun 4, 2019 |
| Linux | vim-runtime Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.1 | [vim-runtime 2:8.0.1453-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-runtime-2-8.0.1453-1ubuntu1.1.md) | Jun 4, 2019 |
| Linux | vim-tiny Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.1 | [vim-tiny 2:8.0.1453-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-tiny-2-8.0.1453-1ubuntu1.1.md) | Jun 4, 2019 |
| Linux | xxd Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.1 | [xxd 2:8.0.1453-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-xxd-2-8.0.1453-1ubuntu1.1.md) | Jun 4, 2019 |

---

Data as of 2026-11-12T13:55:20Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
