# CVE-2022-0413: 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-01-30 · Modified: 2024-08-02
- Aliases: ALPINE-CVE-2022-0413, RHBA-2022:3945, UBUNTU-CVE-2022-0413, DEBIAN-CVE-2022-0413
- Record: https://cvemate.com/vulnerability/CVE-2022-0413 · JSON: https://cvemate.com/vulnerability/CVE-2022-0413/json

## Description

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

## Signals

- CVSS: 8.4 high (v3.0, CVE.org) CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.494%, percentile 75.046%, 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): \< 8.2.4619-r0 \| \< 8.2.4350-r0
- debian vim (Debian): \< 2:8.2.4659-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm8 \| \< 2:7.4.1689-3ubuntu1.5+esm8 \| \< 2:8.0.1453-1ubuntu1.12 \| \< 2:8.1.2269-1ubuntu5.13 \| \< 2:8.2.3995-1ubuntu2.5
- debian debian\_linux: 9.0 \| 10.0
- fedoraproject fedora: 34 \| 35
- redhat vim (Red Hat): \< 2:8.2.2637-15.el9
- redhat vim-common (Red Hat): \< 2:8.2.2637-15.el9
- redhat vim-common-debuginfo (Red Hat): \< 2:8.2.2637-15.el9
- redhat vim-debuginfo (Red Hat): \< 2:8.2.2637-15.el9
- redhat vim-debugsource (Red Hat): \< 2:8.2.2637-15.el9
- redhat vim-enhanced (Red Hat): \< 2:8.2.2637-15.el9
- redhat vim-enhanced-debuginfo (Red Hat): \< 2:8.2.2637-15.el9
- redhat vim-filesystem (Red Hat): \< 2:8.2.2637-15.el9
- redhat vim-minimal (Red Hat): \< 2:8.2.2637-15.el9
- redhat vim-minimal-debuginfo (Red Hat): \< 2:8.2.2637-15.el9
- redhat vim-X11 (Red Hat): \< 2:8.2.2637-15.el9
- redhat vim-X11-debuginfo (Red Hat): \< 2:8.2.2637-15.el9
- vim vim: \< 8.2.4253
- vim vim/vim: ≥ unspecified, \< 8.2

## References (first 20 of 24)

- <https://huntr.dev/bounties/563d1e8f-5c3d-4669-941c-3216f4a87c38>
- <https://github.com/vim/vim/commit/37f47958b8a2a44abc60614271d9537e7f14e51a>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UFXFAILMLUIK4MBUEZO4HNBNKYZRJ5AP/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7ZLEHVP4LNAGER4ZDGUDS5V5YVQD6INF/>
- <https://lists.debian.org/debian-lts-announce/2022/05/msg00022.html>
- <https://security.gentoo.org/glsa/202208-32>
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html>
- <https://security.alpinelinux.org/vuln/CVE-2022-0413>
- <https://access.redhat.com/errata/RHBA-2022:3945>
- <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.0_release_notes/index>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2011412>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2011424>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2011429>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2011749>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2015517>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhba-2022_3945.json>
- <https://access.redhat.com/security/cve/CVE-2022-0413>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2048519>
- <https://www.cve.org/CVERecord?id=CVE-2022-0413>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0413>

---

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