{"id":"UBUNTU-CVE-2018-20786","details":"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.","modified":"2026-04-22T13:05:35.542610Z","published":"2019-02-24T14:29:00Z","related":["USN-4309-1"],"upstream":["CVE-2018-20786"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-20786"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4309-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-20786"}],"affected":[{"package":{"name":"vim","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/vim@2:8.0.1453-1ubuntu1.3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.0.1453-1ubuntu1.3"}]}],"versions":["2:8.0.0197-4ubuntu5","2:8.0.1144-1ubuntu1","2:8.0.1401-1ubuntu1","2:8.0.1401-1ubuntu2","2:8.0.1401-1ubuntu3","2:8.0.1453-1ubuntu1","2:8.0.1453-1ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2:8.0.1453-1ubuntu1.3","binary_name":"vim"},{"binary_version":"2:8.0.1453-1ubuntu1.3","binary_name":"vim-athena"},{"binary_version":"2:8.0.1453-1ubuntu1.3","binary_name":"vim-common"},{"binary_version":"2:8.0.1453-1ubuntu1.3","binary_name":"vim-gnome"},{"binary_version":"2:8.0.1453-1ubuntu1.3","binary_name":"vim-gtk"},{"binary_version":"2:8.0.1453-1ubuntu1.3","binary_name":"vim-gtk3"},{"binary_version":"2:8.0.1453-1ubuntu1.3","binary_name":"vim-gui-common"},{"binary_version":"2:8.0.1453-1ubuntu1.3","binary_name":"vim-nox"},{"binary_version":"2:8.0.1453-1ubuntu1.3","binary_name":"vim-runtime"},{"binary_version":"2:8.0.1453-1ubuntu1.3","binary_name":"vim-tiny"},{"binary_version":"2:8.0.1453-1ubuntu1.3","binary_name":"xxd"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20786.json"}},{"package":{"name":"libvterm","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libvterm@0~bzr715-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0~bzr710-1","0~bzr715-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0~bzr715-1","binary_name":"libvterm-bin"},{"binary_version":"0~bzr715-1","binary_name":"libvterm0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20786.json"}},{"package":{"name":"libvterm","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libvterm@0.1.2-2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0~bzr718-1","0.1.2-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.1.2-2","binary_name":"libvterm-bin"},{"binary_version":"0.1.2-2","binary_name":"libvterm0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20786.json"}},{"package":{"name":"libvterm","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libvterm@0.1.4-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.4-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.1.4-1","binary_name":"libvterm-bin"},{"binary_version":"0.1.4-1","binary_name":"libvterm0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20786.json"}},{"package":{"name":"libvterm","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libvterm@0.3.3-2build1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.4-1","0.3.3-2","0.3.3-2build1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.3.3-2build1","binary_name":"libvterm-bin"},{"binary_version":"0.3.3-2build1","binary_name":"libvterm0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20786.json"}},{"package":{"name":"libvterm","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libvterm@0.3.3-3?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.3-3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.3.3-3","binary_name":"libvterm-bin"},{"binary_version":"0.3.3-3","binary_name":"libvterm0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20786.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}