CVE-2018-20786: leonerd libvterm NULL Pointer Dereference
Vulnerability summary
CVE-2018-20786 is a high (CVSS 7.5) NULL Pointer Dereference vulnerability in leonerd libvterm. EPSS estimates a 2.92% chance of exploitation in the next 30 days, higher than 87.4% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?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
7 scores · 6 sources · 2 versions- 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
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
2.92%
Chance of exploitation in the next 30 days
Percentile
87%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.92% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundVim
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
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
Alpine1 product
- libvterm< 0.1.20190920-r1 | < 0.1.4-r0
Chainguard1 product
- libvterm< 0.3.3-r4
Leonerd1 product
- libvterm≤ 0\+bzr726
Wolfi1 product
- libvterm< 0.3.3-r4
6 vendors · 8 products
References
8 links- github.com/vim/vim/commit/cd929f7ba8cc5b6d6dcf35c8b34124e969fed6b8X Refsource MISCPatchThird Party AdvisoryFIX