# CVE-2018-20786

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2019-02-24 · Modified: 2026-10-15
- Aliases: UBUNTU-CVE-2018-20786, DEBIAN-CVE-2018-20786, CGA-9rhg-35fv-9h27, CGA-rfmm-w96r-49pm, ALPINE-CVE-2018-20786
- Record: https://cvemate.com/vulnerability/CVE-2018-20786 · JSON: https://cvemate.com/vulnerability/CVE-2018-20786/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 2.916%, percentile 87.458%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine libvterm (Alpine Linux): \< 0.1.20190920-r1 \| \< 0.1.4-r0
- chainguard libvterm (Chainguard): \< 0.3.3-r4
- wolfi libvterm (Wolfi): \< 0.3.3-r4
- debian libvterm (Debian): All versions (No fix recorded)
- debian vim (Debian): \< 2:8.1.0693-1
- ubuntu libvterm (Ubuntu): All versions (No fix recorded)
- ubuntu vim (Ubuntu): \< 2:8.0.1453-1ubuntu1.3
- leonerd libvterm: ≤ 0\\+bzr726

## References

- <https://github.com/vim/vim/commit/cd929f7ba8cc5b6d6dcf35c8b34124e969fed6b8>
- <https://github.com/vim/vim/issues/3711>
- <https://usn.ubuntu.com/4309-1/>
- <https://ubuntu.com/security/CVE-2018-20786>
- <https://ubuntu.com/security/notices/USN-4309-1>
- <https://www.cve.org/CVERecord?id=CVE-2018-20786>
- <https://security-tracker.debian.org/tracker/CVE-2018-20786>
- <https://security.alpinelinux.org/vuln/CVE-2018-20786>

---

Data as of 2026-12-05T03:34:30.809Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
