Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.8
CVE-2021-3974: vim may allow attackers to run code
CVE-2021-3974 · published 4 years ago
Summary
The vim text editor on several Linux distributions can be tricked into executing unwanted code. This happens because the program mishandles memory, which could let a malicious file or input take control of the system. Update vim to the latest version provided by your Linux vendor to protect against this risk.
What to do
- Update vim vim to version 8.2.3612 or later.
- Update vim vim/vim to version 8.2.3612 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| vim | vim |
< 8.2.3612 cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* |
| fedoraproject | fedora |
34 35 cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
| debian | debian_linux |
9.0 10.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
| vim | vim/vim | < 8.2.3612 |
Original advisory text
Use After Free in vim/vim
vim is vulnerable to Use After Free
References
- https://github.com/vim/vim/commit/64066b9acd9f8cffdf4840f797748f938a13f2d6 Patch Third Party Advisory
- https://security.gentoo.org/glsa/202208-32 Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro...
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro...
- http://www.openwall.com/lists/oss-security/2022/01/15/1 Mailing List Third Party Advisory
- https://huntr.dev/bounties/e402cb2c-8ec4-4828-a692-c95f8e0de6d4 Exploit Issue Tracking Patch Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html Mailing List Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html Mailing List Third Party Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Type
CWE-416Use After Free
Timeline
Published19 Nov 2021
Updated4 Nov 2026
First seen11 Apr 2026
Track software like this
Free during beta