# CVE-2022-0417: 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-02-01 · Modified: 2025-11-03
- Aliases: ALPINE-CVE-2022-0417, UBUNTU-CVE-2022-0417, DEBIAN-CVE-2022-0417
- Record: https://cvemate.com/vulnerability/CVE-2022-0417 · JSON: https://cvemate.com/vulnerability/CVE-2022-0417/json

## Description

```text
Heap-based Buffer Overflow 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.649%, percentile 77.338%, 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:8.1.2269-1ubuntu5.11 \| \< 2:8.2.3995-1ubuntu2.3
- debian debian\_linux: 9.0 \| 10.0
- fedoraproject fedora: 34 \| 35
- vim vim: \< 8.2.4245
- vim vim/vim: ≥ unspecified, \< 8.2

## References

- <https://huntr.dev/bounties/fc86bc8d-c866-4ade-8b7f-e49cec306d1a>
- <https://github.com/vim/vim/commit/652dee448618589de5528a9e9a36995803f5557a>
- <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/06/msg00014.html>
- <https://security.gentoo.org/glsa/202208-32>
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html>
- <https://security.alpinelinux.org/vuln/CVE-2022-0417>
- <https://ubuntu.com/security/CVE-2022-0417>
- <https://ubuntu.com/security/notices/USN-5801-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-0417>
- <https://security-tracker.debian.org/tracker/CVE-2022-0417>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0417>

---

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