# CVE-2021-4069: Use After Free in vim/vim

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-12-06 · Modified: 2024-08-03
- Aliases: ALPINE-CVE-2021-4069, MGASA-2021-0564, UBUNTU-CVE-2021-4069, DEBIAN-CVE-2021-4069
- Record: https://cvemate.com/vulnerability/CVE-2021-4069 · JSON: https://cvemate.com/vulnerability/CVE-2021-4069/json

## Description

```text
vim is vulnerable to Use After Free
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.391%, percentile 73.274%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine vim (Alpine Linux): \< 8.2.4173-r0
- debian vim (Debian): \< 2:8.2.3995-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm17 \| \< 2:7.4.1689-3ubuntu1.5+esm4 \| \< 2:8.0.1453-1ubuntu1.8 \| \< 2:8.1.2269-1ubuntu5.6
- debian debian\_linux: 9.0 \| 10.0
- fedoraproject fedora: 34 \| 35
- mageia vim (Mageia): \< 8.2.3755-1.mga8
- vim vim: \< 8.2.3741
- vim vim/vim: ≥ unspecified, \< 8.2

## References

- <https://huntr.dev/bounties/0efd6d23-2259-4081-9ff1-3ade26907d74>
- <https://github.com/vim/vim/commit/e031fe90cf2e375ce861ff5e5e281e4ad229ebb9>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WYB2LLNUFJUKJJ5HYCZ6MV3Z6YX3U5BN/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/>
- <http://www.openwall.com/lists/oss-security/2022/01/15/1>
- <https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html>
- <https://security.gentoo.org/glsa/202208-32>
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html>
- <https://security.alpinelinux.org/vuln/CVE-2021-4069>
- <https://advisories.mageia.org/MGASA-2021-0564.html>
- <https://bugs.mageia.org/show_bug.cgi?id=29748>
- <https://ubuntu.com/security/CVE-2021-4069>
- <https://ubuntu.com/security/notices/USN-5247-1>
- <https://ubuntu.com/security/notices/USN-5433-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-4069>
- <https://ubuntu.com/security/notices/USN-6965-1>
- <https://security-tracker.debian.org/tracker/CVE-2021-4069>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-4069>

---

Data as of 2026-12-05T04:55:18.660Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
