# CVE-2022-0319: 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.54%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-21T00:00:00.000Z
- Modified: 2026-06-17T04:20:23.410Z
- Weaknesses: CWE-125
- Assigned by: @huntrdev

## Description

Out-of-bounds Read in 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.4154
- debian debian_linux: 9.0; 10.0
- apple macos: before 13.0

## 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 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://huntr.dev/bounties/ba622fd2-e6ef-4ad9-95b4-17f87b68755b> (exploit, patch, third-party-advisory)
- <https://github.com/vim/vim/commit/05b27615481e72e3b338bb12990fb3e0c2ecc2a9> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html> (mailing-list, mitigation, third-party-advisory)
- <https://security.gentoo.org/glsa/202208-32> (third-party-advisory, vendor-advisory)
- <https://support.apple.com/kb/HT213444> (third-party-advisory)
- <https://support.apple.com/kb/HT213488> (third-party-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-0319](https://www.cve.org/CVERecord?id=CVE-2022-0319), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2022-0319](https://nvd.nist.gov/vuln/detail/CVE-2022-0319), Public domain, modified 2026-06-17

---

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