# CVE-2022-2946: 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-08-23 · Modified: 2026-10-09
- Aliases: ALPINE-CVE-2022-2946, UBUNTU-CVE-2022-2946, DEBIAN-CVE-2022-2946
- Record: https://cvemate.com/vulnerability/CVE-2022-2946 · JSON: https://cvemate.com/vulnerability/CVE-2022-2946/json

## Description

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

## 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.534%, percentile 46.565%, 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

- alpine vim (Alpine Linux): \< 9.0.0270-r0
- debian vim (Debian): \< 2:9.0.0626-1
- ubuntu vim (Ubuntu): All versions (No fix recorded) \| \< 2:8.0.1453-1ubuntu1.12 \| \< 2:8.1.2269-1ubuntu5.13 \| \< 2:8.2.3995-1ubuntu2.5
- debian debian\_linux: 10.0
- fedoraproject fedora: 35
- vim vim: \< 9.0.0246
- vim vim/vim: ≥ unspecified, \< 9.0.0246

## References

- <https://huntr.dev/bounties/5d389a18-5026-47df-a5d0-1548a9b555d5>
- <https://github.com/vim/vim/commit/adce965162dd89bf29ee0e5baf53652e7515762c>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C72HDIMR3KTTAO7QGTXWUMPBNFUFIBRD/>
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html>
- <https://security.gentoo.org/glsa/202305-16>
- <https://security.alpinelinux.org/vuln/CVE-2022-2946>
- <https://ubuntu.com/security/CVE-2022-2946>
- <https://ubuntu.com/security/notices/USN-5995-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-2946>
- <https://security-tracker.debian.org/tracker/CVE-2022-2946>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-2946>

---

Data as of 2026-12-05T03:38:47.490Z. 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
