# CVE-2021-3796: Use After Free 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-15 · Modified: 2024-08-03
- Aliases: ALPINE-CVE-2021-3796, UBUNTU-CVE-2021-3796, DEBIAN-CVE-2021-3796
- Record: https://cvemate.com/vulnerability/CVE-2021-3796 · JSON: https://cvemate.com/vulnerability/CVE-2021-3796/json

## Description

```text
vim is vulnerable to Use After Free
```

## Signals

- CVSS: 8.2 high (v3.0, CVE.org) CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L
- EPSS: 1.741%, percentile 78.528%, 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:7.4.052-1ubuntu3.1+esm3 \| \< 2:7.4.1689-3ubuntu1.5+esm2 \| \< 2:8.0.1453-1ubuntu1.6 \| \< 2:8.1.2269-1ubuntu5.3
- debian debian\_linux: 9.0
- fedoraproject fedora: 33 \| 34 \| 35
- netapp ontap\_select\_deploy\_administration\_utility: na
- vim vim: \< 8.2.3428
- vim vim/vim: ≥ unspecified, ≤ 8.2.3428

## References

- <https://huntr.dev/bounties/ab60b7f3-6fb1-4ac2-a4fa-4d592e08008d>
- <https://github.com/vim/vim/commit/35a9a00afcb20897d462a766793ff45534810dc3>
- <http://www.openwall.com/lists/oss-security/2021/10/01/1>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TE62UMYBZE4AE53K6OBBWK32XQ7544QM/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S42L4Z4DTW4LHLQ4FJ33VEOXRCBE7WN4/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7K4JJBIH3OQSZRVTWKCJCDLGMFGQ5DOH/>
- <https://lists.debian.org/debian-lts-announce/2022/01/msg00003.html>
- <https://security.gentoo.org/glsa/202208-32>
- <https://security.netapp.com/advisory/ntap-20221118-0004/>
- <https://security.alpinelinux.org/vuln/CVE-2021-3796>
- <https://ubuntu.com/security/CVE-2021-3796>
- <https://ubuntu.com/security/notices/USN-5093-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-3796>
- <https://security-tracker.debian.org/tracker/CVE-2021-3796>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3796>

---

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