CVE-2021-4019
HIGH
Published Dec 1, 20214y ago · Modified Jun 17, 20262w ago
7.8 CVSS 3.1
Published Dec 1, 2021 4y ago
Last Modified Jun 17, 2026 2w ago
Description
vim is vulnerable to Heap-based Buffer Overflow
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 2
CWE-122
CWE-787 Out-of-bounds Write Memory Safety
Affected Products 7
| Vendor | Product | Version | Range |
|---|---|---|---|
| neovim | neovim | * | <0.7.0 |
| vim | vim | * | <8.2.3669 |
| fedoraproject | fedora | 34 | any |
| fedoraproject | fedora | 35 | any |
| debian | debian_linux | 9.0 | any |
| debian | debian_linux | 10.0 | any |
| debian | debian_linux | 11.0 | any |
References 9
- openwall.com http://www.openwall.com/lists/oss-security/2022/01/15/1
- github.com https://github.com/vim/vim/commit/bd228fd097b41a798f90944b5d1245eddd484142
- huntr.dev https://huntr.dev/bounties/d8798584-a6c9-4619-b18f-001b9a6fca92
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DRPAI5JVZLI7WHWSBR6NWAPBQAYUQREW/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/
- security.gentoo.org https://security.gentoo.org/glsa/202208-32
Remediation
- github.com https://github.com/vim/vim/commit/bd228fd097b41a798f90944b5d1245eddd484142