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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-12-31 · Modified: 2024-08-03
- Aliases: ALPINE-CVE-2021-4192, UBUNTU-CVE-2021-4192, DEBIAN-CVE-2021-4192
- Record: https://cvemate.com/vulnerability/CVE-2021-4192 · JSON: https://cvemate.com/vulnerability/CVE-2021-4192/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.848%, percentile 79.816%, 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
- apple mac\_os\_x: 10.15.7 \| 10.15.7:security\_update\_2020-001 \| 10.15.7:security\_update\_2021-001 \| 10.15.7:security\_update\_2021-002 \| 10.15.7:security\_update\_2021-003 \| 10.15.7:security\_update\_2021-004 \| 10.15.7:security\_update\_2021-005 \| 10.15.7:security\_update\_2021-006 \| 10.15.7:security\_update\_2021-007 \| 10.15.7:security\_update\_2021-008 \| 10.15.7:security\_update\_2022-001 \| 10.15.7:security\_update\_2022-002 \| 10.15.7:security\_update\_2022-003
- apple macos: \< 12.3 \| ≥ 11.0, \< 11.6.6 \| 10.15.7:security\_update\_2022-004
- debian vim (Debian): \< 2:8.2.3995-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm9 \| \< 2:7.4.1689-3ubuntu1.5+esm4 \| \< 2:8.0.1453-1ubuntu1.13 \| \< 2:8.1.2269-1ubuntu5.14
- debian debian\_linux: 9.0 \| 10.0
- fedoraproject fedora: 34
- vim vim: \< 8.2.3949
- vim vim/vim: ≥ unspecified, \< 8.2

## References

- <https://huntr.dev/bounties/6dd9cb2e-a940-4093-856e-59b502429f22>
- <https://github.com/vim/vim/commit/4c13e5e6763c6eb36a343a2b8235ea227202e952>
- <http://www.openwall.com/lists/oss-security/2022/01/15/1>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3FH2J57GDA2WMBS6J56F6QQRA6BXQQFZ/>
- <https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html>
- <https://support.apple.com/kb/HT213183>
- <http://seclists.org/fulldisclosure/2022/Mar/29>
- <https://support.apple.com/kb/HT213256>
- <http://seclists.org/fulldisclosure/2022/May/35>
- <https://support.apple.com/kb/HT213343>
- <http://seclists.org/fulldisclosure/2022/Jul/14>
- <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-4192>
- <https://ubuntu.com/security/CVE-2021-4192>
- <https://ubuntu.com/security/notices/USN-5433-1>
- <https://ubuntu.com/security/notices/USN-6026-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-4192>
- <https://security-tracker.debian.org/tracker/CVE-2021-4192>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-4192>

---

Data as of 2026-12-05T03:28:39.339Z. 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
