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

- Severity: High 7.8 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/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): 0.50%, higher than 36% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-25T00:00:00.000Z
- Modified: 2026-09-24T15:38:08.260Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntrdev

## Description

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

(As written by CVE List.)

## Affected

- vim vim/vim: from unspecified before 9.0.0579
- neovim neovim: from 0.5.0 before 0.10.0
- vim vim: before 9.0.0579
- fedoraproject fedora: 35; 36; 37

## Every score

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

## References

- <https://huntr.dev/bounties/1aa9ec92-0355-4710-bf85-5bce9effa01c> (exploit, patch, third-party-advisory)
- <https://github.com/vim/vim/commit/0ff01835a40f549c5c4a550502f62a2ac9ac447c> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSSEWQLK55MCNT4Z2IIJEJYEI5HLCODI/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4QI7AETXBHPC7SGA77Q7O5IEGULWYET7/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GTBVD4J2SKVSWK4VBN5JP5OEVK6GDS3N/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202305-16> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2022-3297](https://www.cve.org/CVERecord?id=CVE-2022-3297), CVE Terms of Use, modified 2025-05-21
- NVD: [CVE-2022-3297](https://nvd.nist.gov/vuln/detail/CVE-2022-3297), Public domain, modified 2026-09-24

---

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