CVE-2021-4173
CVE-2021-4173 · Use After Free in vim/vim
CVSS 6.8 · Medium · EPSS 1.8% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- vim/vimUpdate to 8.2
- vim Alpine 3.12Update to 8.2.4173-r0
- vim Alpine 3.13Update to 8.2.4173-r0
- vim Alpine 3.14Update to 8.2.4173-r0
- and 13 more
Check the installed version:
apk list -I -o vimAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
vim is vulnerable to Use After Free
- Published
- Updated
Fixes in distributions
- DLA-4097-1 · Debian 11 ·
Stack: system
Affected products and versions
vim/vim
- Versions
- ≥ unspecified, < 8.2: Affected (custom)
Update to 8.2
vim Alpine 3.12
- Affected ranges
- ECOSYSTEM: < 8.2.4173-r0
Update to 8.2.4173-r0
vim Alpine 3.13
- Affected ranges
- ECOSYSTEM: < 8.2.4173-r0
Update to 8.2.4173-r0
vim Alpine 3.14
- Affected ranges
- ECOSYSTEM: < 8.2.4173-r0
Update to 8.2.4173-r0
vim Alpine 3.15
- Affected ranges
- ECOSYSTEM: < 8.2.4173-r0
Update to 8.2.4173-r0
vim Alpine 3.16
- Affected ranges
- ECOSYSTEM: < 8.2.4173-r0
Update to 8.2.4173-r0
vim Alpine 3.17
- Affected ranges
- ECOSYSTEM: < 8.2.4173-r0
Update to 8.2.4173-r0
vim Alpine 3.18
- Affected ranges
- ECOSYSTEM: < 8.2.4173-r0
Update to 8.2.4173-r0
vim Alpine 3.19
- Affected ranges
- ECOSYSTEM: < 8.2.4173-r0
Update to 8.2.4173-r0
vim Alpine 3.20
- Affected ranges
- ECOSYSTEM: < 8.2.4173-r0
Update to 8.2.4173-r0
vim Alpine 3.21
- Affected ranges
- ECOSYSTEM: < 8.2.4173-r0
Update to 8.2.4173-r0
vim Alpine 3.22
- Affected ranges
- ECOSYSTEM: < 8.2.4173-r0
Update to 8.2.4173-r0
vim Alpine 3.23
- Affected ranges
- ECOSYSTEM: < 8.2.4173-r0
Update to 8.2.4173-r0
vim Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 8.2.4173-r0
Update to 8.2.4173-r0
vim Debian 12
- Affected ranges
- ECOSYSTEM: < 2:8.2.3995-1
Update to 2:8.2.3995-1
vim Debian 13
- Affected ranges
- ECOSYSTEM: < 2:8.2.3995-1
Update to 2:8.2.3995-1
vim Debian 14
- Affected ranges
- ECOSYSTEM: < 2:8.2.3995-1
Update to 2:8.2.3995-1
Original sources
- https://huntr.dev/bounties/a1b236b9-89fb-4ccf-9689-ba11b471e766
- https://github.com/vim/vim/commit/9c23f9bb5fe435b28245ba8ac65aa0ca6b902c04
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2EY2VFBU3YGGWI5BW4XKT3F37MYGEQUD/
- http://www.openwall.com/lists/oss-security/2022/01/15/1
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3FH2J57GDA2WMBS6J56F6QQRA6BXQQFZ/
- https://support.apple.com/kb/HT213183
- http://seclists.org/fulldisclosure/2022/Mar/29
- https://support.apple.com/kb/HT213256
- http://seclists.org/fulldisclosure/2022/May/35
- https://support.apple.com/kb/HT213343
- http://seclists.org/fulldisclosure/2022/Jul/14
- https://security.gentoo.org/glsa/202208-32
- https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-4173