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

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-09-25 · Modified: 2025-05-21
- Aliases: UBUNTU-CVE-2022-3297, DEBIAN-CVE-2022-3297
- Record: https://cvemate.com/vulnerability/CVE-2022-3297 · JSON: https://cvemate.com/vulnerability/CVE-2022-3297/json

## Description

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

## Signals

- CVSS: 7.8 high (v3.0, CVE.org) CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.526%, percentile 46.05%, 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

- debian vim (Debian): \< 2:9.0.0626-1
- ubuntu vim (Ubuntu): All versions (No fix recorded) \| \< 2:8.2.3995-1ubuntu2.12
- fedoraproject fedora: 35 \| 36 \| 37
- neovim neovim: ≥ 0.5.0, \< 0.10.0
- vim vim: \< 9.0.0579
- vim vim/vim: ≥ unspecified, \< 9.0.0579

## References

- <https://huntr.dev/bounties/1aa9ec92-0355-4710-bf85-5bce9effa01c>
- <https://github.com/vim/vim/commit/0ff01835a40f549c5c4a550502f62a2ac9ac447c>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSSEWQLK55MCNT4Z2IIJEJYEI5HLCODI/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4QI7AETXBHPC7SGA77Q7O5IEGULWYET7/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GTBVD4J2SKVSWK4VBN5JP5OEVK6GDS3N/>
- <https://security.gentoo.org/glsa/202305-16>
- <https://ubuntu.com/security/CVE-2022-3297>
- <https://ubuntu.com/security/notices/USN-6420-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-3297>
- <https://security-tracker.debian.org/tracker/CVE-2022-3297>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-3297>

---

Data as of 2026-12-05T04:11:45.338Z. 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
