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

- Severity: High 7.3 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H`
- 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.36%, higher than 72% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-19T00:00:00.000Z
- Modified: 2026-10-08T21:17:41.590Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.3612
- vim vim: before 8.2.3612
- fedoraproject fedora: 34; 35
- debian debian_linux: 9.0; 10.0

## Every score

- @huntrdev: CVSS:3.0 7.3 High `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H`
- 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/e402cb2c-8ec4-4828-a692-c95f8e0de6d4> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/vim/vim/commit/64066b9acd9f8cffdf4840f797748f938a13f2d6> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IH2LS2DXBTYOCWGAKFMBF3HTWWXPBEFL/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2022/01/15/1> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html> (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-3974](https://www.cve.org/CVERecord?id=CVE-2021-3974), CVE Terms of Use, modified 2026-10-08
- NVD: [CVE-2021-3974](https://nvd.nist.gov/vuln/detail/CVE-2021-3974), Public domain, modified 2026-10-08

---

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