# CVE-2021-3973: 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-11-19 · Modified: 2026-10-08
- Aliases: ALPINE-CVE-2021-3973, UBUNTU-CVE-2021-3973, DEBIAN-CVE-2021-3973
- Record: https://cvemate.com/vulnerability/CVE-2021-3973 · JSON: https://cvemate.com/vulnerability/CVE-2021-3973/json

## Description

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

## Signals

- CVSS: 9.3 high (v2.0, NVD) AV:N/AC:M/Au:N/C:C/I:C/A:C
- EPSS: 1.801%, percentile 79.263%, 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.3650-r0
- debian vim (Debian): \< 2:8.2.3995-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm17 \| \< 2:7.4.1689-3ubuntu1.5+esm4 \| \< 2:8.0.1453-1ubuntu1.8 \| \< 2:8.1.2269-1ubuntu5.6
- debian debian\_linux: 9.0
- fedoraproject fedora: 34 \| 35
- vim vim: \< 8.2.3611
- vim vim/vim: ≥ unspecified, \< 8.2.3611

## References

- <https://huntr.dev/bounties/ce6e8609-77c6-4e17-b9fc-a2e5abed052e>
- <https://github.com/vim/vim/commit/615ddd5342b50a6878a907062aa471740bd9a847>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IH2LS2DXBTYOCWGAKFMBF3HTWWXPBEFL/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/>
- <http://www.openwall.com/lists/oss-security/2022/01/15/1>
- <https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html>
- <https://security.gentoo.org/glsa/202208-32>
- <https://security.alpinelinux.org/vuln/CVE-2021-3973>
- <https://ubuntu.com/security/CVE-2021-3973>
- <https://ubuntu.com/security/notices/USN-5247-1>
- <https://ubuntu.com/security/notices/USN-5433-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-3973>
- <https://ubuntu.com/security/notices/USN-6965-1>
- <https://security-tracker.debian.org/tracker/CVE-2021-3973>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3973>

---

Data as of 2026-12-05T04:55:21.837Z. 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
