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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-05-19 · Modified: 2024-08-03
- Aliases: ALPINE-CVE-2022-1796, UBUNTU-CVE-2022-1796, DEBIAN-CVE-2022-1796
- Record: https://cvemate.com/vulnerability/CVE-2022-1796 · JSON: https://cvemate.com/vulnerability/CVE-2022-1796/json

## Description

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

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.138%, percentile 67.664%, 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.5000-r0
- debian vim (Debian): \< 2:9.0.0135-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
- vim vim: \< 8.2.4979
- vim vim/vim: ≥ unspecified, \< 8.2.4979

## References

- <https://huntr.dev/bounties/f6739b58-49f9-4056-a843-bf76bbc1253e>
- <https://github.com/vim/vim/commit/28d032cc688ccfda18c5bbcab8b50aba6e18cde5>
- <https://security.gentoo.org/glsa/202208-32>
- <https://security.gentoo.org/glsa/202305-16>
- <https://security.alpinelinux.org/vuln/CVE-2022-1796>
- <https://ubuntu.com/security/CVE-2022-1796>
- <https://ubuntu.com/security/notices/USN-5498-1>
- <https://ubuntu.com/security/notices/USN-5995-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-1796>
- <https://security-tracker.debian.org/tracker/CVE-2022-1796>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-1796>

---

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