# CVE-2022-0368: Out-of-bounds Read in vim/vim

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

## Description

```text
Out-of-bounds Read in GitHub repository vim/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.635%, percentile 77.153%, 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: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.4217
- vim vim/vim: ≥ unspecified, \< 8.2

## References

- <https://huntr.dev/bounties/bca9ce1f-400a-4bf9-9207-3f3187cb3fa9>
- <https://github.com/vim/vim/commit/8d02ce1ed75d008c34a5c9aaa51b67cbb9d33baa>
- <https://lists.debian.org/debian-lts-announce/2022/03/msg00018.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://security.alpinelinux.org/vuln/CVE-2022-0368>
- <https://ubuntu.com/security/CVE-2022-0368>
- <https://huntr.dev/bounties/bca9ce1f-400a-4bf9-9207-3f3187cb3fa9/>
- <https://ubuntu.com/security/notices/USN-5458-1>
- <https://ubuntu.com/security/notices/USN-6026-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-0368>
- <https://security-tracker.debian.org/tracker/CVE-2022-0368>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0368>

---

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