CVE-2018-20786: leonerd libvterm NULL Pointer Dereference
CVSS: 7.5v3.0HighModified
AliasesUBUNTU-CVE-2018-20786DEBIAN-CVE-2018-20786CGA-9rhg-35fv-9h27CGA-rfmm-w96r-49pm
Published 24-02-2019Last modified 15-10-2026
Vulnerability summary
CVE-2018-20786 is a high (CVSS 7.5) NULL Pointer Dereference vulnerability in leonerd libvterm. EPSS estimates a 2.89% chance of exploitation in the next 30 days, higher than 86.7% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
7.5/10
010
High · v3.0 (NVD)EPSS score
2.89%
0%100%
Low · -0.08 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github
Advisory lineage
Upstream 0 · Downstream 1 · Related 3Timeline
- 24-02-2019PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versionsHigh 7.5Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSourcesAll 5 agree
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Medium 5.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:N/I:N/A:PSourcesSingle source
EPSS trend
Probability
2.89%
Chance of exploitation in the next 30 days
Percentile
87%
Versus all other CVEs
30-day change
-0.08 pp
From 2.97% on 19-09-2026
19-09-202619-10-2026
EPSS score2.89%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundVim
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Debian2 products
- libvtermAll versions (No fix recorded)
- vim< 2:8.1.0693-1
Ubuntu2 products
- libvtermAll versions (No fix recorded)
- vim< 2:8.0.1453-1ubuntu1.3
Chainguard1 product
- libvterm< 0.3.3-r4
Leonerd1 product
- libvterm≤ 0\+bzr726
Wolfi1 product
- libvterm< 0.3.3-r4
5 vendors · 7 products
References
7 links- github.com/vim/vim/commit/cd929f7ba8cc5b6d6dcf35c8b34124e969fed6b8X Refsource MISCPatchThird Party AdvisoryFIX