CVE-2021-4019
high
CVSS v3
7.8
CVSS v4 NEW
โ
VIR risk
7.8
Description
vim is vulnerable to Heap-based Buffer Overflow
Predictions
Exploit likelihood
75%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 8.2.3741-1 | |
| sles | affected | | |
| rocky | 8 | fixed | |
| debian | bookworm | fixed | 2:8.2.3995-1 |
| debian | bullseye | fixed | 2:8.2.2434-3+deb11u2 |
| debian | forky | fixed | 2:8.2.3995-1 |
| debian | sid | fixed | 2:8.2.3995-1 |
| debian | trixie | fixed | 2:8.2.3995-1 |
| fedora | 34 | affected | |
| fedora | 35 | affected | |
| debian | 9.0 | affected | |
| debian | 10.0 | affected | |
| debian | 11.0 | affected | |
References
- https://www.suse.com/security/cve/CVE-2021-4019.html
- https://errata.rockylinux.org/RLSA-2022:0366
- https://security-tracker.debian.org/tracker/CVE-2021-4019
- https://errata.almalinux.org/8/ALSA-2022-0366.html
- http://www.openwall.com/lists/oss-security/2022/01/15/1
- https://github.com/vim/vim/commit/bd228fd097b41a798f90944b5d1245eddd484142
- https://huntr.dev/bounties/d8798584-a6c9-4619-b18f-001b9a6fca92
- https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html
- https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DRPAI5JVZLI7WHWSBR6NWAPBQAYUQREW/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/
- https://security.gentoo.org/glsa/202208-32
- https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html
CWEs
CWE-122 CWE-787
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.