CVE-2021-4019
7.8 HIGHvim is vulnerable to Heap-based Buffer Overflow
Published: 2021-12-01 · Last updated: 2026-05-29
Severity and scoring
- CVSS
- 7.8 HIGH
- Vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CWE
- CWE-122, CWE-787
Affected products
| Vendor | Product |
|---|---|
| debian | debian_linux, fedora, neovim |
| fedoraproject | debian_linux, fedora, neovim |
| neovim | debian_linux, fedora, neovim |
| vim | debian_linux, fedora, neovim |
Description
vim is vulnerable to Heap-based Buffer Overflow
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2021-4019
- [Other]http://www.openwall.com/lists/oss-security/2022/01/15/1
- [Patch]https://github.com/vim/vim/commit/bd228fd097b41a798f90944b5d1245eddd484142
- [Exploit reference]https://huntr.dev/bounties/d8798584-a6c9-4619-b18f-001b9a6fca92
- [Other]https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html
- [Other]https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html
- [Other]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DRPAI5JVZLI7WHWSBR6NWAPBQAYUQREW/
- [Other]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/
- [Other]https://security.gentoo.org/glsa/202208-32
- [Other]http://www.openwall.com/lists/oss-security/2022/01/15/1
- [Patch]https://github.com/vim/vim/commit/bd228fd097b41a798f90944b5d1245eddd484142
- [Exploit reference]https://huntr.dev/bounties/d8798584-a6c9-4619-b18f-001b9a6fca92
- [Other]https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html
- [Other]https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html
- [Other]https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html
- [Other]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DRPAI5JVZLI7WHWSBR6NWAPBQAYUQREW/
- [Other]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/
- [Other]https://security.gentoo.org/glsa/202208-32
Related CVEs
Same vendor
- CVE-2026-49975 — Memory Allocation with Excessive Size Value vulnerability in Apache HTTP Server's mod_http leads to denial of service via malicious HTTP ... (7.5 HIGH)
- CVE-2026-46483 — Vim is an open source, command line text editor (3.6 LOW)
- CVE-2026-45130 — Vim is an open source, command line text editor (6.6 MEDIUM)
- CVE-2026-31431 — In the Linux kernel, the following vulnerability has been resolved: crypto: algif_aead - Revert to operating out-of-place This mostly r... (7.8 HIGH)
- CVE-2026-4775 — A flaw was found in the libtiff library (7.8 HIGH)
Same CWE
- CVE-2026-53465 — ImageMagick is free and open-source software used for editing and manipulating digital images (6.2 MEDIUM)
- CVE-2026-53461 — ImageMagick is free and open-source software used for editing and manipulating digital images (7.5 HIGH)
- CVE-2026-48994 — ImageMagick is free and open-source software used for editing and manipulating digital images (5.9 MEDIUM)
- CVE-2026-48724 — ImageMagick is free and open-source software used for editing and manipulating digital images (5.5 MEDIUM)
- CVE-2026-46692 — ImageMagick is free and open-source software used for editing and manipulating digital images (4.1 MEDIUM)