vim: Fix of 6 CVEs
- CVE-2021-3903: do not set VALID_BOTLINE in update_topline() when screen is invalid - CVE-2022-1616: tighten append_command() loop bound + pre-write length check to avoid buffer overflow with composing chars - CVE-2022-2042: initialize attr in spell_move_to() and capture empty_line before ml_get_buf() invalidates line - CVE-2022-2581: in cstrchr() reject illegal byte that would otherwise fold-match a multi-byte char - CVE-2022-3324: clamp next_curwin_size and w_width to non-negative in win_equal_rec()/win_new_width() - CVE-2022-0554: skip quickfix buffers when picking a replacement after deleting the current buffer
- Products
- vim-X11, vim-common, vim-enhanced, vim-filesystem, vim-minimal
- Affected versions
- Not specified
- Fixed versions
- 2:8.0.1763-19.el8.4.tuxcare.els2
- CVEs
- CVE-2021-3903, CVE-2022-0554, CVE-2022-1616, CVE-2022-2042, CVE-2022-2581, CVE-2022-3324
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 13:50 UTC · Revision 1
Source evidence
- CVE-2021-3903: do not set VALID_BOTLINE in update_topline() when screen is invalid - CVE-2022-1616: tighten append_command() loop bound + pre-write length check to avoid buffer overflow with composing chars - CVE-2022-2042: initialize attr in spell_move_to() and capture empty_line before ml_get_buf() invalidates line - CVE-2022-2581: in cstrchr() reject illegal byte that would otherwise fold-match a multi-byte char - CVE-2022-3324: clamp next_curwin_size and w_width to non-negative in win_equal_rec()/win_new_width() - CVE-2022-0554: skip quickfix buffers when picking a replacement after deleting the current buffer
osv:CLSA-2026-1779183103
vim-X11
Fixed versions: 2:8.0.1763-19.el8.4.tuxcare.els2
vim-common
Fixed versions: 2:8.0.1763-19.el8.4.tuxcare.els2
vim-enhanced
Fixed versions: 2:8.0.1763-19.el8.4.tuxcare.els2
vim-filesystem
Fixed versions: 2:8.0.1763-19.el8.4.tuxcare.els2
vim-minimal
Fixed versions: 2:8.0.1763-19.el8.4.tuxcare.els2
Complete source record
{
"id": "1d1f4f21ccbfcbcbee92c8b1911e28158162a401f0d04433ad70737f3f87ed02",
"url": "https://osv.dev/vulnerability/CLSA-2026-1779183103",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "vim: Fix of 6 CVEs",
"summary": "- CVE-2021-3903: do not set VALID_BOTLINE in update_topline() when screen is invalid - CVE-2022-1616: tighten append_command() loop bound + pre-write length check to avoid buffer overflow with composing chars - CVE-2022-2042: initialize attr in spell_move_to() and capture empty_line before ml_get_buf() invalidates line - CVE-2022-2581: in cstrchr() reject illegal byte that would otherwise fold-match a multi-byte char - CVE-2022-3324: clamp next_curwin_size and w_width to non-negative in win_equal_rec()/win_new_width() - CVE-2022-0554: skip quickfix buffers when picking a replacement after deleting the current buffer",
"evidence": "osv:CLSA-2026-1779183103",
"products": [
{
"name": {
"value": "vim-X11",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:8.0.1763-19.el8.4.tuxcare.els2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "vim-common",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:8.0.1763-19.el8.4.tuxcare.els2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "vim-enhanced",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:8.0.1763-19.el8.4.tuxcare.els2",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "vim-filesystem",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:8.0.1763-19.el8.4.tuxcare.els2",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "vim-minimal",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:8.0.1763-19.el8.4.tuxcare.els2",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CLSA-2026-1779183103",
"aliases": [
"CLSA-2026-1779183103"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:8.0.1763-19.el8.4.tuxcare.els2"
}
]
}
],
"package": {
"name": "vim-X11",
"purl": "pkg:rpm/tuxcare/vim-X11?distro=centos-stream-8",
"ecosystem": "TuxCare:CentOS-Stream:8"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos-stream8els/CLSA-2026-1779183103.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:8.0.1763-19.el8.4.tuxcare.els2"
}
]
}
],
"package": {
"name": "vim-common",
"purl": "pkg:rpm/tuxcare/vim-common?distro=centos-stream-8",
"ecosystem": "TuxCare:CentOS-Stream:8"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos-stream8els/CLSA-2026-1779183103.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:8.0.1763-19.el8.4.tuxcare.els2"
}
]
}
],
"package": {
"name": "vim-enhanced",
"purl": "pkg:rpm/tuxcare/vim-enhanced?distro=centos-stream-8",
"ecosystem": "TuxCare:CentOS-Stream:8"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos-stream8els/CLSA-2026-1779183103.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:8.0.1763-19.el8.4.tuxcare.els2"
}
]
}
],
"package": {
"name": "vim-filesystem",
"purl": "pkg:rpm/tuxcare/vim-filesystem?distro=centos-stream-8",
"ecosystem": "TuxCare:CentOS-Stream:8"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos-stream8els/CLSA-2026-1779183103.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:8.0.1763-19.el8.4.tuxcare.els2"
}
]
}
],
"package": {
"name": "vim-minimal",
"purl": "pkg:rpm/tuxcare/vim-minimal?distro=centos-stream-8",
"ecosystem": "TuxCare:CentOS-Stream:8"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos-stream8els/CLSA-2026-1779183103.json"
}
}
],
"modified": "2026-10-21T10:46:33.197092568Z",
"provider": "osv",
"upstream": [
"CVE-2021-3903",
"CVE-2022-0554",
"CVE-2022-1616",
"CVE-2022-2042",
"CVE-2022-2581",
"CVE-2022-3324"
],
"references": [
"https://errata.tuxcare.com/els_os/centos-stream8els/CLSA-2026-1779183103.html"
]
},
"related_cves": [
{
"value": "CVE-2021-3903",
"evidence": "/upstream"
},
{
"value": "CVE-2022-0554",
"evidence": "/upstream"
},
{
"value": "CVE-2022-1616",
"evidence": "/upstream"
},
{
"value": "CVE-2022-2042",
"evidence": "/upstream"
},
{
"value": "CVE-2022-2581",
"evidence": "/upstream"
},
{
"value": "CVE-2022-3324",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 392242,
"published_at": "2026-05-19T12:24:21+00:00"
}