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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-01-10 · Modified: 2024-08-02
- Aliases: ALPINE-CVE-2022-0156, UBUNTU-CVE-2022-0156, DEBIAN-CVE-2022-0156, openSUSE-SU-2024:11737-1
- Record: https://cvemate.com/vulnerability/CVE-2022-0156 · JSON: https://cvemate.com/vulnerability/CVE-2022-0156/json

## Description

```text
vim is vulnerable to Use After Free
```

## Signals

- CVSS: 6.8 medium (v3.0, CVE.org) CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
- EPSS: 1.84%, percentile 79.718%, 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.4173-r0
- apple macos: \< 12.3 \| ≥ 11.0, \< 11.6.8
- debian vim (Debian): \< 2:8.2.4659-1
- ubuntu vim (Ubuntu): \< 2:8.2.3995-1ubuntu2.9
- fedoraproject fedora: 34 \| 35
- opensuse vim&distro=openSUSE Tumbleweed (openSUSE): \< 8.2.4063-1.1
- vim vim: \< 8.2.4040
- vim vim/vim: ≥ unspecified, \< 8.2

## References

- <https://huntr.dev/bounties/47dded34-3767-4725-8c7c-9dcb68c70b36>
- <https://github.com/vim/vim/commit/9f1a39a5d1cd7989ada2d1cb32f97d84360e050f>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HD5S2FC2HF22A7XQXK2XXIR46EARVWIM/>
- <http://www.openwall.com/lists/oss-security/2022/01/15/1>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3FH2J57GDA2WMBS6J56F6QQRA6BXQQFZ/>
- <https://support.apple.com/kb/HT213183>
- <http://seclists.org/fulldisclosure/2022/Mar/29>
- <https://support.apple.com/kb/HT213344>
- <http://seclists.org/fulldisclosure/2022/Jul/13>
- <https://security.gentoo.org/glsa/202208-32>
- <https://security.alpinelinux.org/vuln/CVE-2022-0156>
- <https://ubuntu.com/security/CVE-2022-0156>
- <https://ubuntu.com/security/notices/USN-6195-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-0156>
- <https://security-tracker.debian.org/tracker/CVE-2022-0156>
- <https://www.suse.com/security/cve/CVE-2022-0156>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0156>

---

Data as of 2026-12-05T06:48:37.291Z. 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
