# CVE-2022-2862: Use After Free in vim/vim

- Severity: High 7.6 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/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): 0.97%, higher than 62% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-08-17T00:00:00.000Z
- Modified: 2026-11-02T22:17:14.307Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: @huntrdev

## Description

Use After Free in GitHub repository vim/vim prior to 9.0.0221.

(As written by CVE List.)

## Affected

- vim vim/vim: from unspecified before 9.0.0221
- vim vim: before 9.0.0221
- fedoraproject fedora: 37

## Every score

- @huntrdev: CVSS:3.0 7.6 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/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`

## References

- <https://huntr.dev/bounties/71180988-1ab6-4311-bca8-e9a879b06765> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/vim/vim/commit/1889f499a4f248cd84e0e0bf6d0d820016774494> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWOJOA7PZZAMBI5GFTL6PWHXMWSDLUXL/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202305-16> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-2862](https://www.cve.org/CVERecord?id=CVE-2022-2862), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2022-2862](https://nvd.nist.gov/vuln/detail/CVE-2022-2862), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2022-2862 · Whole record: https://cve.day/CVE-2022-2862.json · Rebuilt by cve.day 2026-11-25T22:58:14.269Z
