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

- Severity: Medium 5.5 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.85%, higher than 79% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-31T00:00:00.000Z
- Modified: 2026-06-17T04:19:11.530Z
- Weaknesses: CWE-416
- Assigned by: @huntrdev

## Description

vim is vulnerable to Use After Free

(As written by CVE List.)

## Affected

- vim vim/vim: from unspecified before 8.2
- vim vim: before 8.2.3949
- fedoraproject fedora: 34
- debian debian_linux: 9.0; 10.0
- apple mac_os_x: 10.15.7
- apple macos: before 12.3; from 11.0 before 11.6.6; 10.15.7

## Every score

- @huntrdev: CVSS:3.0 5.5 Medium `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://huntr.dev/bounties/6dd9cb2e-a940-4093-856e-59b502429f22> (exploit, third-party-advisory)
- <https://github.com/vim/vim/commit/4c13e5e6763c6eb36a343a2b8235ea227202e952> (patch, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2022/01/15/1> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3FH2J57GDA2WMBS6J56F6QQRA6BXQQFZ/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html> (mailing-list, third-party-advisory)
- <https://support.apple.com/kb/HT213183> (release-notes, third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/Mar/29> (mailing-list, third-party-advisory)
- <https://support.apple.com/kb/HT213256> (third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/May/35> (mailing-list, third-party-advisory)
- <https://support.apple.com/kb/HT213343> (third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/Jul/14> (mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202208-32> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-4192](https://www.cve.org/CVERecord?id=CVE-2021-4192), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-4192](https://nvd.nist.gov/vuln/detail/CVE-2021-4192), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-4192 · Whole record: https://cve.day/CVE-2021-4192.json · Rebuilt by cve.day 2026-11-25T22:58:06.310Z
