CVE-2021-4193
published 2021-12-31CVE-2021-4193: Out-of-bounds Read in vim/vim vim is vulnerable to Out-of-bounds Read
medium5.5CVSS 3.1
AVLACLPRNUIRSUCHINAN
EPSS
1.76%
75.3th percentile
Out-of-bounds Read in vim/vim
vim is vulnerable to Out-of-bounds Read
Affected
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | macos_big_sur | — | — |
| apple | macos_monterey | — | — |
| apple | security_update_2022-005_catalina | — | — |
| debian | vim | < vim 2:8.2.3995-1 (bookworm) | vim 2:8.2.3995-1 (bookworm) |
| msrc | cbl2_vim_8.2.4081-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_vim_8.2.4006-1_on_cbl_mariner_1.0 | — | — |
| vim | vim | >= 0 < 2:8.0.1453-1ubuntu1.13 | 2:8.0.1453-1ubuntu1.13 |
| vim | vim | >= 0 < 2:8.1.2269-1ubuntu5.14 | 2:8.1.2269-1ubuntu5.14 |
| vim | vim | >= 0 < 2:8.2.3995-1ubuntu2.7 | 2:8.2.3995-1ubuntu2.7 |
| vim | vim | >= 0 < 2:7.4.052-1ubuntu3.1+esm9 | 2:7.4.052-1ubuntu3.1+esm9 |
| vim | vim | >= 0 < 2:7.4.1689-3ubuntu1.5+esm5 | 2:7.4.1689-3ubuntu1.5+esm5 |
| vim | vim_vim | >= unspecified < 8.2.3901 | 8.2.3901 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
nvdv3.05.5MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:N
cvelistv55.5MEDIUM
osv7.1HIGH
vendor_ubuntu7.1HIGH
vendor_debian5.5LOW
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2023-04-19·CVSS 7.1
CVE-2022-0729 [HIGH] Vim vulnerabilities
Title: Vim vulnerabilities
Summary: Several security issues were fixed in Vim.
It was discovered that Vim was incorrectly processing Vim buffers. An
attacker could possibly use this issue to perform illegal memory access and
expose sensitive information. This issue only affected Ubuntu 20.04 LTS.
(CVE-2021-4166)
It was discovered that Vim was using freed memory when dealing with regular
expressions inside a visual selection. If a user were tricked into opening a
specially crafted file, an attacker could crash the application, leading to a
denial of service, or possibly achieve code execution with user privileges.
This issue only affected Ubuntu 14.04 ESM, Ubuntu 18.04 LTS and Ubuntu
20.04 LTS. (CVE-2021-4192)
It was discovered that Vim was incorrectly handling virtual column position
o
Apple
CVE-2021-4193: Security Update 2022-005 Catalina
vendor_apple·2022-07-20·CVSS 5.5
CVE-2021-4193 [MEDIUM] CVE-2021-4193: Security Update 2022-005 Catalina
Apple Security Update: About the security content of Security Update 2022-005 Catalina
Product: Security Update 2022-005 Catalina
CVE: CVE-2021-4193
Component: CVE-2021-4193
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2022-06-02·CVSS 5.5
CVE-2022-0361 [MEDIUM] Vim vulnerabilities
Title: Vim vulnerabilities
Summary: Several security issues were fixed in Vim.
It was discovered that Vim was incorrectly handling virtual column
position operations, which could result in an out-of-bounds read. An
attacker could possibly use this issue to expose sensitive
information. (CVE-2021-4193)
It was discovered that Vim was not properly performing bounds checks
when updating windows present on a screen, which could result in a
heap buffer overflow. An attacker could possibly use this issue to
cause a denial of service or execute arbitrary code. (CVE-2022-0213)
It was discovered that Vim was incorrectly handling window
exchanging operations when in Visual mode, which could result in an
out-of-bounds read. An attacker could possibly use this issue to
expose sensitive information.
Apple
CVE-2021-4193: macOS Big Sur 11.6.6
vendor_apple·2022-05-16·CVSS 5.5
CVE-2021-4193 [MEDIUM] CVE-2021-4193: macOS Big Sur 11.6.6
Apple Security Update: About the security content of macOS Big Sur 11.6.6
Product: macOS Big Sur
Version: 11.6.6
CVE: CVE-2021-4193
Component: CVE-2021-4193
Apple
CVE-2021-4193: macOS Monterey 12.3
vendor_apple·2022-03-14·CVSS 5.5
CVE-2021-4193 [MEDIUM] CVE-2021-4193: macOS Monterey 12.3
Apple Security Update: About the security content of macOS Monterey 12.3
Product: macOS Monterey
Version: 12.3
CVE: CVE-2021-4193
Component: CVE-2021-4193
Red Hat
vim: out-of-bound read in getvcol()
vendor_redhat·2021-12-31·CVSS 5.5
CVE-2021-4193 [MEDIUM] CWE-125 vim: out-of-bound read in getvcol()
vim: out-of-bound read in getvcol()
vim is vulnerable to Out-of-bounds Read
It was found that vim was vulnerable to an out-of-bound read flaw in getvcol(). A specially crafted file could be used to, when opened in vim, disclose some of the process's internal memory.
Package: vim (Red Hat Enterprise Linux 6) - Out of support scope
Package: vim (Red Hat Enterprise Linux 7) - Out of support scope
Package: vim (Red Hat Enterprise Linux 9) - Not affected
Microsoft
Out-of-bounds Read in vim/vim
vendor_msrc·2021-12-14·CVSS 5.5
CVE-2021-4193 [MEDIUM] CWE-125 Out-of-bounds Read in vim/vim
Out-of-bounds Read in vim/vim
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
@huntrdev: @huntrdev
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.microsoft.com/en-
Debian
CVE-2021-4193: vim - vim is vulnerable to Out-of-bounds Read
vendor_debian·2021·CVSS 5.5
CVE-2021-4193 [MEDIUM] CVE-2021-4193: vim - vim is vulnerable to Out-of-bounds Read
vim is vulnerable to Out-of-bounds Read
Scope: local
bookworm: resolved (fixed in 2:8.2.3995-1)
bullseye: open
forky: resolved (fixed in 2:8.2.3995-1)
sid: resolved (fixed in 2:8.2.3995-1)
trixie: resolved (fixed in 2:8.2.3995-1)
OSV
vim vulnerabilities
osv·2023-04-19·CVSS 7.1
CVE-2021-4166 [HIGH] vim vulnerabilities
vim vulnerabilities
It was discovered that Vim was incorrectly processing Vim buffers. An
attacker could possibly use this issue to perform illegal memory access and
expose sensitive information. This issue only affected Ubuntu 20.04 LTS.
(CVE-2021-4166)
It was discovered that Vim was using freed memory when dealing with regular
expressions inside a visual selection. If a user were tricked into opening a
specially crafted file, an attacker could crash the application, leading to a
denial of service, or possibly achieve code execution with user privileges.
This issue only affected Ubuntu 14.04 ESM, Ubuntu 18.04 LTS and Ubuntu
20.04 LTS. (CVE-2021-4192)
It was discovered that Vim was incorrectly handling virtual column position
operations, which could result in an out-of-bounds read. An a
OSV
vim vulnerabilities
osv·2022-06-02·CVSS 5.5
CVE-2021-4193 [MEDIUM] vim vulnerabilities
vim vulnerabilities
It was discovered that Vim was incorrectly handling virtual column
position operations, which could result in an out-of-bounds read. An
attacker could possibly use this issue to expose sensitive
information. (CVE-2021-4193)
It was discovered that Vim was not properly performing bounds checks
when updating windows present on a screen, which could result in a
heap buffer overflow. An attacker could possibly use this issue to
cause a denial of service or execute arbitrary code. (CVE-2022-0213)
It was discovered that Vim was incorrectly handling window
exchanging operations when in Visual mode, which could result in an
out-of-bounds read. An attacker could possibly use this issue to
expose sensitive information. (CVE-2022-0319)
It was discovered that Vim was incorrectly
CVEList
Out-of-bounds Read in vim/vim
cvelistv5·2021-12-31·CVSS 5.5
CVE-2021-4193 [MEDIUM] CWE-125 Out-of-bounds Read in vim/vim
Out-of-bounds Read in vim/vim
vim is vulnerable to Out-of-bounds Read
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2021-12-31
Published