# CVE-2022-2343: Heap-based Buffer Overflow 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-07-08 · Modified: 2026-10-08
- Aliases: UBUNTU-CVE-2022-2343, DEBIAN-CVE-2022-2343
- Record: https://cvemate.com/vulnerability/CVE-2022-2343 · JSON: https://cvemate.com/vulnerability/CVE-2022-2343/json

## Description

```text
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0044.
```

## 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: 1.372%, percentile 72.906%, 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

- debian vim (Debian): \< 2:9.0.0135-1
- ubuntu vim (Ubuntu): \< 2:8.2.3995-1ubuntu2.5
- fedoraproject fedora: 35
- vim vim: \< 9.0.0044
- vim vim/vim: ≥ unspecified, \< 9.0.0044

## References

- <https://huntr.dev/bounties/2ecb4345-2fc7-4e7f-adb0-83a20bb458f5>
- <https://github.com/vim/vim/commit/caea66442d86e7bbba3bf3dc202c3c0d549b9853>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/43Y3VJPOTTY3NTREDIFUPITM2POG4ZLP/>
- <https://security.gentoo.org/glsa/202208-32>
- <https://security.gentoo.org/glsa/202305-16>
- <https://ubuntu.com/security/CVE-2022-2343>
- <https://www.cve.org/CVERecord?id=CVE-2022-2343>
- <https://security-tracker.debian.org/tracker/CVE-2022-2343>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-2343>

---

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