# CVE-2018-20786: vim: libvterm through 0+bzr726, as used in Vim and other products, mishandles certain out-of-memory conditions, leading to...

CVE-2018-20786 is fixed in 11 products on 1 platform, first by vim 2:8.0.1453-1ubuntu1.3, released December 29, 2019. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-20786
- Priority: Routine
- CVSS: n/a (Low)
- EPSS: 0.0292
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 24, 2019

## Description

libvterm through 0+bzr726, as used in Vim and other products, mishandles certain out-of-memory conditions, leading to a denial of service (application crash), related to screen.c, state.c, and vterm.c.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | vim Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.3 | [vim 2:8.0.1453-1ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-2-8.0.1453-1ubuntu1.3.md) | Dec 29, 2019 |
| Linux | vim-athena Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.3 | [vim-athena 2:8.0.1453-1ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-athena-2-8.0.1453-1ubuntu1.3.md) | Dec 29, 2019 |
| Linux | vim-common Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.3 | [vim-common 2:8.0.1453-1ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-common-2-8.0.1453-1ubuntu1.3.md) | Dec 29, 2019 |
| Linux | vim-gnome Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.3 | [vim-gnome 2:8.0.1453-1ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-gnome-2-8.0.1453-1ubuntu1.3.md) | Dec 29, 2019 |
| Linux | vim-gtk Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.3 | [vim-gtk 2:8.0.1453-1ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-gtk-2-8.0.1453-1ubuntu1.3.md) | Dec 29, 2019 |
| Linux | vim-gtk3 Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.3 | [vim-gtk3 2:8.0.1453-1ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-gtk3-2-8.0.1453-1ubuntu1.3.md) | Dec 29, 2019 |
| Linux | vim-gui-common Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.3 | [vim-gui-common 2:8.0.1453-1ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-gui-common-2-8.0.1453-1ubuntu1.3.md) | Dec 29, 2019 |
| Linux | vim-nox Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.3 | [vim-nox 2:8.0.1453-1ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-nox-2-8.0.1453-1ubuntu1.3.md) | Dec 29, 2019 |
| Linux | vim-runtime Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.3 | [vim-runtime 2:8.0.1453-1ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-runtime-2-8.0.1453-1ubuntu1.3.md) | Dec 29, 2019 |
| Linux | vim-tiny Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.3 | [vim-tiny 2:8.0.1453-1ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-tiny-2-8.0.1453-1ubuntu1.3.md) | Dec 29, 2019 |
| Linux | xxd Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.3 | [xxd 2:8.0.1453-1ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-xxd-2-8.0.1453-1ubuntu1.3.md) | Dec 29, 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.
