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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-12-02 · Modified: 2025-04-23
- Aliases: UBUNTU-CVE-2022-3591, DEBIAN-CVE-2022-3591
- Record: https://cvemate.com/vulnerability/CVE-2022-3591 · JSON: https://cvemate.com/vulnerability/CVE-2022-3591/json

## Description

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

## 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.409%, percentile 37.231%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian vim (Debian): \< 2:9.0.0813-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm13 \| \< 2:7.4.1689-3ubuntu1.5+esm14 \| \< 2:8.0.1453-1ubuntu1.13+esm5 \| \< 2:8.1.2269-1ubuntu5.18 \| \< 2:8.2.3995-1ubuntu2.12
- neovim neovim: ≥ 0.1.0, \< 0.9.0
- vim vim: \< 9.0.0789
- vim vim/vim: ≥ unspecified, \< 9.0.0789

## References

- <https://huntr.dev/bounties/a5a998c2-4b07-47a7-91be-dbc1886b3921>
- <https://github.com/vim/vim/commit/8f3c3c6cd044e3b5bf08dbfa3b3f04bb3f711bad>
- <https://security.gentoo.org/glsa/202305-16>
- <https://ubuntu.com/security/CVE-2022-3591>
- <https://ubuntu.com/security/notices/USN-5775-1>
- <https://ubuntu.com/security/notices/USN-6420-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-3591>
- <https://security-tracker.debian.org/tracker/CVE-2022-3591>

---

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