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

- Severity: Medium 5.5 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.64%, higher than 77% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-26T00:00:00.000Z
- Modified: 2026-06-17T04:20:28.410Z
- Weaknesses: CWE-125
- Assigned by: @huntrdev

## Description

Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.

(As written by CVE List.)

## Affected

- vim vim/vim: from unspecified before 8.2
- vim vim: before 8.2.4217
- debian debian_linux: 9.0; 10.0
- apple macos: from 12.0 before 12.6

## Every score

- @huntrdev: CVSS:3.0 5.5 Medium `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://huntr.dev/bounties/bca9ce1f-400a-4bf9-9207-3f3187cb3fa9> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/vim/vim/commit/8d02ce1ed75d008c34a5c9aaa51b67cbb9d33baa> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html> (mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202208-32> (third-party-advisory, vendor-advisory)
- <https://support.apple.com/kb/HT213444> (vendor-advisory)
- <https://support.apple.com/kb/HT213488> (vendor-advisory)
- <http://seclists.org/fulldisclosure/2022/Oct/41> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/Oct/28> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/Oct/43> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2022-0368](https://www.cve.org/CVERecord?id=CVE-2022-0368), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2022-0368](https://nvd.nist.gov/vuln/detail/CVE-2022-0368), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-0368 · Whole record: https://cve.day/CVE-2022-0368.json · Rebuilt by cve.day 2026-11-25T22:58:09.427Z
