HighFix available
libvterm, vim — security advisory
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.
- Products
- libvterm, vim
- Affected versions
- 0.1.2-2, 0.1.4-1, 0.3.3-2, 0.3.3-2build1, 0.3.3-3, 0.3.3-3build1, 0~bzr710-1, 0~bzr715-1, 0~bzr718-1, 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
- Fixed versions
- 2:8.0.1453-1ubuntu1.3
- CVEs
- CVE-2018-20786
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:29 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2018-20786
vim
Fixed versions: 2:8.0.1453-1ubuntu1.3
libvterm
Fixed versions: Not specified
libvterm
Fixed versions: Not specified
libvterm
Fixed versions: Not specified
libvterm
Fixed versions: Not specified
libvterm
Fixed versions: Not specified
libvterm
Fixed versions: Not specified
libvterm
Fixed versions: Not specified
Complete source record
{
"id": "c84c2fe26c82e35298a2edf050ed5710e50f25d4e57783b037b93f079fd488d5",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2018-20786",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2018-20786",
"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.",
"evidence": "osv:UBUNTU-CVE-2018-20786",
"products": [
{
"name": {
"value": "vim",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:8.0.1453-1ubuntu1.3",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "2:8.0.0197-4ubuntu5",
"evidence": "/affected/0/versions"
},
{
"value": "2:8.0.1144-1ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "2:8.0.1401-1ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "2:8.0.1401-1ubuntu2",
"evidence": "/affected/0/versions"
},
{
"value": "2:8.0.1401-1ubuntu3",
"evidence": "/affected/0/versions"
},
{
"value": "2:8.0.1453-1ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "2:8.0.1453-1ubuntu1.1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "libvterm",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0~bzr710-1",
"evidence": "/affected/1/versions"
},
{
"value": "0~bzr715-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "libvterm",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0~bzr718-1",
"evidence": "/affected/2/versions"
},
{
"value": "0.1.2-2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "libvterm",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.1.4-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "libvterm",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.1.4-1",
"evidence": "/affected/4/versions"
},
{
"value": "0.3.3-2",
"evidence": "/affected/4/versions"
},
{
"value": "0.3.3-2build1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "libvterm",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.3.3-3",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "libvterm",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.3.3-3build1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "libvterm",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.3.3-3",
"evidence": "/affected/7/versions"
},
{
"value": "0.3.3-3build1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2018-20786",
"aliases": [
"UBUNTU-CVE-2018-20786"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:8.0.1453-1ubuntu1.3"
}
]
}
],
"package": {
"name": "vim",
"purl": "pkg:deb/ubuntu/vim?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20786.json"
},
"ecosystem_specific": {
"binaries": [
{
"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",
"binary_version": "2:8.0.1453-1ubuntu1.3"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libvterm",
"purl": "pkg:deb/ubuntu/libvterm?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"0~bzr710-1",
"0~bzr715-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20786.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libvterm-bin",
"binary_version": "0~bzr715-1"
},
{
"binary_name": "libvterm0",
"binary_version": "0~bzr715-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libvterm",
"purl": "pkg:deb/ubuntu/libvterm?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0~bzr718-1",
"0.1.2-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20786.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libvterm-bin",
"binary_version": "0.1.2-2"
},
{
"binary_name": "libvterm0",
"binary_version": "0.1.2-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libvterm",
"purl": "pkg:deb/ubuntu/libvterm?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.1.4-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20786.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libvterm-bin",
"binary_version": "0.1.4-1"
},
{
"binary_name": "libvterm0",
"binary_version": "0.1.4-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libvterm",
"purl": "pkg:deb/ubuntu/libvterm?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.1.4-1",
"0.3.3-2",
"0.3.3-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20786.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libvterm-bin",
"binary_version": "0.3.3-2build1"
},
{
"binary_name": "libvterm0",
"binary_version": "0.3.3-2build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libvterm",
"purl": "pkg:deb/ubuntu/libvterm?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.3.3-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20786.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libvterm-bin",
"binary_version": "0.3.3-3"
},
{
"binary_name": "libvterm0",
"binary_version": "0.3.3-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libvterm",
"purl": "pkg:deb/ubuntu/libvterm?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.3.3-3build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20786.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libvterm-bin",
"binary_version": "0.3.3-3build1"
},
{
"binary_name": "libvterm0",
"binary_version": "0.3.3-3build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libvterm",
"purl": "pkg:deb/ubuntu/libvterm?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.3.3-3",
"0.3.3-3build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20786.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libvterm-bin",
"binary_version": "0.3.3-3build1"
},
{
"binary_name": "libvterm0",
"binary_version": "0.3.3-3build1"
}
]
}
}
],
"modified": "2026-10-17T12:55:25.459554956Z",
"provider": "osv",
"upstream": [
"CVE-2018-20786"
],
"references": [
"https://ubuntu.com/security/CVE-2018-20786",
"https://ubuntu.com/security/notices/USN-4309-1",
"https://www.cve.org/CVERecord?id=CVE-2018-20786"
]
},
"related_cves": [
{
"value": "CVE-2018-20786",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 353741,
"published_at": "2019-02-24T14:29:00+00:00"
}