# CVE-2021-3770: Heap-based Buffer Overflow in vim/vim

- Severity: High 8.6 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/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.73%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-06T00:00:00.000Z
- Modified: 2026-06-17T04:05:43.897Z
- Weaknesses: CWE-122, CWE-787
- Assigned by: @huntrdev

## Description

vim is vulnerable to Heap-based Buffer Overflow

(As written by CVE List.)

## Affected

- vim vim/vim: from unspecified before 8.2.3403
- vim vim: before 8.2.3408
- fedoraproject fedora: 33; 34; 35
- netapp ontap_select_deploy_administration_utility: no versions given

## Every score

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

## References

- <https://huntr.dev/bounties/016ad2f2-07c1-4d14-a8ce-6eed10729365> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/vim/vim/commit/b7081e135a16091c93f6f5f7525a5c58fb7ca9f9> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J2CJLY3CF55I2ULG2X4ENXLSXAXYW5J4/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X4FFQARG3LGREPDZRI4C7ERQL3RJKEWQ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZFNTMVZCN4TRTTCAXRLVQ7H2P7FYAIZQ/> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2021/10/01/1> (mailing-list, patch, third-party-advisory)
- <https://security.gentoo.org/glsa/202208-32> (third-party-advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20221124-0003/> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-3770 · Whole record: https://cve.day/CVE-2021-3770.json · Rebuilt by cve.day 2026-11-25T22:58:03.658Z
