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

- Severity: High 7.8 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- 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.36%, higher than 72% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-05-25T00:00:00.000Z
- Modified: 2026-06-17T04:23:13.620Z
- 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.5013
- fedoraproject fedora: 34; 35; 36
- debian debian_linux: 9.0; 10.0
- apple macos: before 13.0

## Every score

- @huntrdev: CVSS:3.0 7.8 High `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- 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/f8af901a-9a46-440d-942a-8f815b59394d> (exploit, patch, third-party-advisory)
- <https://github.com/vim/vim/commit/78d52883e10d71f23ab72a3d8b9733b00da8c9ad> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QMFHBC5OQXDPV2SDYA2JUQGVCPYASTJB/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OZSLFIKFYU5Y2KM5EJKQNYHWRUBDQ4GJ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TYNK6SDCMOLQJOI3B4AOE66P2G2IH4ZM/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/06/msg00014.html> (mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202208-32> (third-party-advisory, vendor-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)
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html> (mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202305-16> (vendor-advisory)

## Sources

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

---

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