# CVE-2022-0392: Heap-based Buffer Overflow in vim/vim

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

## Description

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

## 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.629%, percentile 77.033%, 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
- apple macos: ≥ 12.0, \< 12.6
- debian vim (Debian): \< 2:8.2.4659-1
- ubuntu vim (Ubuntu): \< 2:8.0.1453-1ubuntu1.10 \| \< 2:8.1.2269-1ubuntu5.11 \| \< 2:8.2.3995-1ubuntu2.3
- debian debian\_linux: 10.0
- vim vim: \< 8.2.4218
- vim vim/vim: ≥ unspecified, \< 8.2

## References

- <https://huntr.dev/bounties/d00a2acd-1935-4195-9d5b-4115ef6b3126>
- <https://github.com/vim/vim/commit/806d037671e133bd28a7864248763f643967973a>
- <https://security.gentoo.org/glsa/202208-32>
- <https://support.apple.com/kb/HT213444>
- <https://support.apple.com/kb/HT213488>
- <http://seclists.org/fulldisclosure/2022/Oct/41>
- <http://seclists.org/fulldisclosure/2022/Oct/28>
- <http://seclists.org/fulldisclosure/2022/Oct/43>
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00032.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html>
- <https://security.alpinelinux.org/vuln/CVE-2022-0392>
- <https://ubuntu.com/security/CVE-2022-0392>
- <https://ubuntu.com/security/notices/USN-5801-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-0392>
- <https://security-tracker.debian.org/tracker/CVE-2022-0392>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0392>

---

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