CVE-2018-20786 json
libvterm through 0+bzr726, as used in Vim and other products, mishandles certain out-of-memory conditions, leading to a denial of service (…
published 2019-02-24 7 y ago modified 2026-10-15 24 d ago also EUVD-2018-13329
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- vim Debian 14, Debian 13, Debian 12 2:8.1.0693-1
debian advisories DEBIAN-CVE-2018-20786
- vim Ubuntu 18.04 LTS 2:8.0.1453-1ubuntu1.3
ubuntu advisories UBUNTU-CVE-2018-20786
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libvterm Alpine 3.14 0.1.20190920-r1
- libvterm Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 0.1.4-r0
alpine advisories ALPINE-CVE-2018-20786
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/vim/vim@cd929f7 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-20786 updated cvss 5.3
libvterm: NULL pointer dereference in vterm_screen_set_callbacks
-
Red Hat Enterprise Linux 8 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystemaffected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 24 d ago
Exploit prediction
2.92% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/vim/vim/issues/3711 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
github.com
/vim/vim/commit/cd929f7ba8cc5b6d6dcf35c8b34124e969fed6b8
patch, third-party-advisory
-
github.com
/vim/vim/issues/3711
exploit, third-party-advisory
-
usn.ubuntu.com
/4309-1/
vendor-advisory
Sources
- CVE List CVE-2018-20786
- NVD CVE-2018-20786
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.