# CVE-2022-3520: Heap-based Buffer Overflow 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.32%, higher than 71% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-02T00:00:00.000Z
- Modified: 2026-06-17T04:59:40.937Z
- Weaknesses: CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntrdev

## Description

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.

(As written by CVE List.)

## Affected

- vim vim/vim: from unspecified before 9.0.0765
- vim vim: before 9.0.0765

## 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 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.dev/bounties/c1db3b70-f4fe-481f-8a24-0b1449c94246> (exploit, patch, third-party-advisory)
- <https://github.com/vim/vim/commit/36343ae0fb7247e060abfd35fb8e4337b33abb4b> (patch, third-party-advisory)
- <https://security.gentoo.org/glsa/202305-16> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20241115-0010/>

## Sources

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

---

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