# CVE-2022-0351: Access of Memory Location Before Start of Buffer 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-01-25 · Modified: 2026-10-08
- Aliases: UBUNTU-CVE-2022-0351, DEBIAN-CVE-2022-0351
- Record: https://cvemate.com/vulnerability/CVE-2022-0351 · JSON: https://cvemate.com/vulnerability/CVE-2022-0351/json

## Description

```text
Access of Memory Location Before Start of Buffer in 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: 0.655%, percentile 52.767%, 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

- apple macos: \< 12.6
- debian vim (Debian): \< 2:8.2.4659-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm9 \| \< 2:7.4.1689-3ubuntu1.5+esm5 \| \< 2:8.0.1453-1ubuntu1.13 \| \< 2:8.1.2269-1ubuntu5.14 \| \< 2:8.2.3995-1ubuntu2.7
- debian debian\_linux: 9.0 \| 10.0
- vim vim: \< 8.2
- vim vim/vim: ≥ unspecified, \< 8.2

## References

- <https://huntr.dev/bounties/8b36db58-b65c-4298-be7f-40b9e37fd161>
- <https://github.com/vim/vim/commit/fe6fb267e6ee5c5da2f41889e4e0e0ac5bf4b89d>
- <https://lists.debian.org/debian-lts-announce/2022/05/msg00022.html>
- <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/msg00009.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html>
- <https://ubuntu.com/security/CVE-2022-0351>
- <https://ubuntu.com/security/notices/USN-5458-1>
- <https://ubuntu.com/security/notices/USN-6026-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-0351>
- <https://security-tracker.debian.org/tracker/CVE-2022-0351>

---

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