CVE-2021-3928
published 2021-11-05CVE-2021-3928: vim is vulnerable to Use of Uninitialized Variable
PriorityP337high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.59%
43.8th percentile
vim is vulnerable to Use of Uninitialized Variable
Affected
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | vim | < vim 2:8.2.3995-1 (bookworm) | vim 2:8.2.3995-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cm1_vim_8.2.3582-1_on_cbl_mariner_1.0 | — | — |
| vim | vim | < 8.2.3582 | 8.2.3582 |
| vim | vim | >= 0 < 2:8.2.3995-1 | 2:8.2.3995-1 |
| vim | vim | >= 0 < 2:8.2.3995-1 | 2:8.2.3995-1 |
| vim | vim | >= 0 < 2:8.2.3995-1 | 2:8.2.3995-1 |
| vim | vim | >= 0 < 2:8.0.1453-1ubuntu1.7 | 2:8.0.1453-1ubuntu1.7 |
| vim | vim | >= 0 < 2:8.1.2269-1ubuntu5.4 | 2:8.1.2269-1ubuntu5.4 |
| vim | vim | >= 0 < 2:7.4.052-1ubuntu3.1+esm4 | 2:7.4.052-1ubuntu3.1+esm4 |
| vim | vim | >= 0 < 2:7.4.1689-3ubuntu1.5+esm3 | 2:7.4.1689-3ubuntu1.5+esm3 |
| vim | vim_vim | >= unspecified < 8.2.3582 | 8.2.3582 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv3.07.3HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
nvdv2.04.6MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8LOW
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu5.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·2021-11-15·CVSS 5.5
CVE-2021-3928 [MEDIUM] Vim vulnerabilities
Title: Vim vulnerabilities
Summary: Several security issues were fixed in Vim.
It was discovered that Vim incorrectly handled permissions on the .swp
file. A local attacker could possibly use this issue to obtain sensitive
information. This issue only affected Ubuntu 14.04 ESM. (CVE-2017-17087)
It was discovered that Vim incorrectly handled restricted mode. A local
attacker could possibly use this issue to bypass restricted mode and
execute arbitrary commands. Note: This update only makes executing shell
commands more difficult. Restricted mode should not be considered a
complete security measure. This issue only affected Ubuntu 14.04 ESM.
(CVE-2019-20807)
Brian Carpenter discovered that vim incorrectly handled memory
when opening certain files. If a user was tricked into opening
a spe
Microsoft
Use of Uninitialized Variable in vim/vim
vendor_msrc·2021-11-09·CVSS 7.8
CVE-2021-3928 [HIGH] CWE-457 Use of Uninitialized Variable in vim/vim
Use of Uninitialized Variable 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.micros
Red Hat
vim: stack-based buffer overflow in spell_iswordp() in spell.c
vendor_redhat·2021-10-29·CVSS 7.8
CVE-2021-3928 [HIGH] CWE-119 vim: stack-based buffer overflow in spell_iswordp() in spell.c
vim: stack-based buffer overflow in spell_iswordp() in spell.c
vim is vulnerable to Use of Uninitialized Variable
A flaw was found in vim. A possible stack-based buffer overflow could allow an attacker to input a specially crafted file leading to a crash or code execution. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Mitigation: Do not run untrusted vim scripts with -s {scriptin} as it is never safe to do so.
Package: rhacm2/openshift-hive-rhel8 (Red Hat Advanced Cluster Management for Kubernetes 2) - Not affected
Package: vim (Red Hat Enterprise Linux 6) - Not affected
Package: vim (Red Hat Enterprise Linux 7) - Not affected
Package: vim (Red Hat Enterprise Linux 8) - Not affected
Package: vim (Red Hat Enterpri
Debian
CVE-2021-3928: vim - vim is vulnerable to Use of Uninitialized Variable
vendor_debian·2021·CVSS 7.8
CVE-2021-3928 [HIGH] CVE-2021-3928: vim - vim is vulnerable to Use of Uninitialized Variable
vim is vulnerable to Use of Uninitialized Variable
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·2021-11-15·CVSS 5.5
CVE-2017-17087 [MEDIUM] vim vulnerabilities
vim vulnerabilities
It was discovered that Vim incorrectly handled permissions on the .swp
file. A local attacker could possibly use this issue to obtain sensitive
information. This issue only affected Ubuntu 14.04 ESM. (CVE-2017-17087)
It was discovered that Vim incorrectly handled restricted mode. A local
attacker could possibly use this issue to bypass restricted mode and
execute arbitrary commands. Note: This update only makes executing shell
commands more difficult. Restricted mode should not be considered a
complete security measure. This issue only affected Ubuntu 14.04 ESM.
(CVE-2019-20807)
Brian Carpenter discovered that vim incorrectly handled memory
when opening certain files. If a user was tricked into opening
a specially crafted file, a remote attacker could crash the
appli
OSV
CVE-2021-3928: vim is vulnerable to Use of Uninitialized Variable
osv·2021-11-05·CVSS 7.8
CVE-2021-3928 [HIGH] CVE-2021-3928: vim is vulnerable to Use of Uninitialized Variable
vim is vulnerable to Use of Uninitialized Variable
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
http://www.openwall.com/lists/oss-security/2022/01/15/1https://github.com/vim/vim/commit/15d9890eee53afc61eb0a03b878a19cb5672f732https://huntr.dev/bounties/29c3ebd2-d601-481c-bf96-76975369d0cdhttps://lists.debian.org/debian-lts-announce/2022/03/msg00018.htmlhttps://lists.debian.org/debian-lts-announce/2022/11/msg00009.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BCQWPEY2AEYBELCMJYHYWYCD3PZVD2H7/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PGW56Z6IN4UVM3E5RXXF4G7LGGTRBI5C/https://security.gentoo.org/glsa/202208-32http://www.openwall.com/lists/oss-security/2022/01/15/1https://github.com/vim/vim/commit/15d9890eee53afc61eb0a03b878a19cb5672f732https://huntr.dev/bounties/29c3ebd2-d601-481c-bf96-76975369d0cdhttps://lists.debian.org/debian-lts-announce/2022/03/msg00018.htmlhttps://lists.debian.org/debian-lts-announce/2022/11/msg00009.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BCQWPEY2AEYBELCMJYHYWYCD3PZVD2H7/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PGW56Z6IN4UVM3E5RXXF4G7LGGTRBI5C/https://security.gentoo.org/glsa/202208-32
2021-11-05
Published