Fixed 7 CVEs in vim
- CVE-2022-2206: adjust cmdline_row and msg_row to the value of Rows - CVE-2022-2284: stop visual mode when closing a window - CVE-2022-2285: put a NUL after the typeahead - CVE-2022-2286: check the length of the string - CVE-2022-2287: disallow adding a word with control characters or a trailing slash - CVE-2022-2264: adjust the end mark position - CVE-2022-2257: check for NUL on string special values parsing
- Products
- vim-X11, vim-common, vim-enhanced, vim-filesystem, vim-minimal
- Affected versions
- Not specified
- Fixed versions
- 3:7.4.629-5.2.el6.tuxcare.els22
- CVEs
- CVE-2022-2206, CVE-2022-2257, CVE-2022-2264, CVE-2022-2284, CVE-2022-2285, CVE-2022-2286, CVE-2022-2287
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 13:55 UTC · Revision 1
Source evidence
- CVE-2022-2206: adjust cmdline_row and msg_row to the value of Rows - CVE-2022-2284: stop visual mode when closing a window - CVE-2022-2285: put a NUL after the typeahead - CVE-2022-2286: check the length of the string - CVE-2022-2287: disallow adding a word with control characters or a trailing slash - CVE-2022-2264: adjust the end mark position - CVE-2022-2257: check for NUL on string special values parsing
osv:CLSA-2022-1658171898
vim-X11
Fixed versions: 3:7.4.629-5.2.el6.tuxcare.els22
vim-common
Fixed versions: 3:7.4.629-5.2.el6.tuxcare.els22
vim-enhanced
Fixed versions: 3:7.4.629-5.2.el6.tuxcare.els22
vim-filesystem
Fixed versions: 3:7.4.629-5.2.el6.tuxcare.els22
vim-minimal
Fixed versions: 3:7.4.629-5.2.el6.tuxcare.els22
Complete source record
{
"id": "aeb0cf154b4b66e0e6cee980b48abe65aa23e59d5b34c4bd30425ac9eed333e7",
"url": "https://osv.dev/vulnerability/CLSA-2022-1658171898",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Fixed 7 CVEs in vim",
"summary": "- CVE-2022-2206: adjust cmdline_row and msg_row to the value of Rows - CVE-2022-2284: stop visual mode when closing a window - CVE-2022-2285: put a NUL after the typeahead - CVE-2022-2286: check the length of the string - CVE-2022-2287: disallow adding a word with control characters or a trailing slash - CVE-2022-2264: adjust the end mark position - CVE-2022-2257: check for NUL on string special values parsing",
"evidence": "osv:CLSA-2022-1658171898",
"products": [
{
"name": {
"value": "vim-X11",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3:7.4.629-5.2.el6.tuxcare.els22",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "vim-common",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3:7.4.629-5.2.el6.tuxcare.els22",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "vim-enhanced",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3:7.4.629-5.2.el6.tuxcare.els22",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "vim-filesystem",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3:7.4.629-5.2.el6.tuxcare.els22",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "vim-minimal",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3:7.4.629-5.2.el6.tuxcare.els22",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CLSA-2022-1658171898",
"aliases": [
"CLSA-2022-1658171898"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3:7.4.629-5.2.el6.tuxcare.els22"
}
]
}
],
"package": {
"name": "vim-X11",
"purl": "pkg:rpm/tuxcare/vim-X11?distro=oraclelinux-6",
"ecosystem": "TuxCare:OracleLinux:6"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/oraclelinux6els/CLSA-2022-1658171898.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3:7.4.629-5.2.el6.tuxcare.els22"
}
]
}
],
"package": {
"name": "vim-common",
"purl": "pkg:rpm/tuxcare/vim-common?distro=oraclelinux-6",
"ecosystem": "TuxCare:OracleLinux:6"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/oraclelinux6els/CLSA-2022-1658171898.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3:7.4.629-5.2.el6.tuxcare.els22"
}
]
}
],
"package": {
"name": "vim-enhanced",
"purl": "pkg:rpm/tuxcare/vim-enhanced?distro=oraclelinux-6",
"ecosystem": "TuxCare:OracleLinux:6"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/oraclelinux6els/CLSA-2022-1658171898.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3:7.4.629-5.2.el6.tuxcare.els22"
}
]
}
],
"package": {
"name": "vim-filesystem",
"purl": "pkg:rpm/tuxcare/vim-filesystem?distro=oraclelinux-6",
"ecosystem": "TuxCare:OracleLinux:6"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/oraclelinux6els/CLSA-2022-1658171898.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3:7.4.629-5.2.el6.tuxcare.els22"
}
]
}
],
"package": {
"name": "vim-minimal",
"purl": "pkg:rpm/tuxcare/vim-minimal?distro=oraclelinux-6",
"ecosystem": "TuxCare:OracleLinux:6"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/oraclelinux6els/CLSA-2022-1658171898.json"
}
}
],
"modified": "2026-10-21T10:48:01.805588307Z",
"provider": "osv",
"upstream": [
"CVE-2022-2206",
"CVE-2022-2257",
"CVE-2022-2264",
"CVE-2022-2284",
"CVE-2022-2285",
"CVE-2022-2286",
"CVE-2022-2287"
],
"references": [
"https://errata.cloudlinux.com/ol6/CLSA-2022-1658171898.html"
]
},
"related_cves": [
{
"value": "CVE-2022-2206",
"evidence": "/upstream"
},
{
"value": "CVE-2022-2257",
"evidence": "/upstream"
},
{
"value": "CVE-2022-2264",
"evidence": "/upstream"
},
{
"value": "CVE-2022-2284",
"evidence": "/upstream"
},
{
"value": "CVE-2022-2285",
"evidence": "/upstream"
},
{
"value": "CVE-2022-2286",
"evidence": "/upstream"
},
{
"value": "CVE-2022-2287",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 392507,
"published_at": "2022-07-18T19:18:18+00:00"
}