# CVE-2022-2816: 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): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-08-15T00:00:00.000Z
- Modified: 2026-06-17T04:42:38.193Z
- Weaknesses: CWE-125
- Assigned by: @huntrdev

## Description

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

(As written by CVE List.)

## Affected

- vim vim/vim: from unspecified before 9.0.0212
- vim vim: before 9.0.0212
- fedoraproject fedora: 35

## 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`

## References

- <https://huntr.dev/bounties/e2a83037-fcf9-4218-b2b9-b7507dacde58> (exploit, patch, third-party-advisory)
- <https://github.com/vim/vim/commit/dbdd16b62560413abcc3c8e893cc3010ccf31666> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CHFAR6OY6G77M6GXCJT75A4KITLNR6GO/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202305-16> (vendor-advisory)

## Sources

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

---

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