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

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-09-06 · Modified: 2024-08-03
- Aliases: ALPINE-CVE-2021-3770, MGASA-2021-0432, UBUNTU-CVE-2021-3770, DEBIAN-CVE-2021-3770
- Record: https://cvemate.com/vulnerability/CVE-2021-3770 · JSON: https://cvemate.com/vulnerability/CVE-2021-3770/json

## Description

```text
vim is vulnerable to Heap-based Buffer Overflow
```

## Signals

- CVSS: 8.6 high (v3.0, CVE.org) CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- EPSS: 0.735%, percentile 55.823%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine vim (Alpine Linux): \< 8.2.3437-r0
- debian vim (Debian): \< 2:8.2.3455-1
- ubuntu vim (Ubuntu): \< 2:8.1.2269-1ubuntu5.3
- fedoraproject fedora: 33 \| 34 \| 35
- mageia vim (Mageia): \< 8.2.2143-3.1.mga8
- netapp ontap\_select\_deploy\_administration\_utility: na
- vim vim: \< 8.2.3408
- vim vim/vim: ≥ unspecified, \< 8.2.3403

## References (first 20 of 21)

- <https://huntr.dev/bounties/016ad2f2-07c1-4d14-a8ce-6eed10729365>
- <https://github.com/vim/vim/commit/b7081e135a16091c93f6f5f7525a5c58fb7ca9f9>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J2CJLY3CF55I2ULG2X4ENXLSXAXYW5J4/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X4FFQARG3LGREPDZRI4C7ERQL3RJKEWQ/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZFNTMVZCN4TRTTCAXRLVQ7H2P7FYAIZQ/>
- <http://www.openwall.com/lists/oss-security/2021/10/01/1>
- <https://security.gentoo.org/glsa/202208-32>
- <https://security.netapp.com/advisory/ntap-20221124-0003/>
- <https://security.alpinelinux.org/vuln/CVE-2021-3770>
- <https://advisories.mageia.org/MGASA-2021-0432.html>
- <https://bugs.mageia.org/show_bug.cgi?id=29444>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2001929>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/J2CJLY3CF55I2ULG2X4ENXLSXAXYW5J4/>
- <https://ubuntu.com/security/CVE-2021-3770>
- <https://huntr.dev/bounties/016ad2f2-07c1-4d14-a8ce-6eed10729365/>
- <https://github.com/vim/vim/commit/2ddb89f8a94425cda1e5491efc80c1ccccb6e08e>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/J2CJLY3CF55I2ULG2X4ENXLSXAXYW5J4/>
- <https://ubuntu.com/security/notices/USN-5093-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-3770>
- <https://security-tracker.debian.org/tracker/CVE-2021-3770>

---

Data as of 2026-12-05T04:11:37.826Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
