CVE-2021-3974

HIGH

vim < 8.2.3612 - Use-After-Free

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2021-3974. PoCs published by cemonatk.

AI-analyzed exploit summary This repository contains a detailed technical analysis of CVE-2021-3974, a Use After Free vulnerability in Vim. It includes a description of the issue, steps to reproduce, and sanitizer output demonstrating the heap-use-after-free condition.

Description

vim is vulnerable to Use After Free

Exploits (1)

github WRITEUP 3 stars
by cemonatk · poc
https://github.com/cemonatk/onefuzzyway/tree/main/CVEs/vim/CVE-2021-3974.md

This repository contains a detailed technical analysis of CVE-2021-3974, a Use After Free vulnerability in Vim. It includes a description of the issue, steps to reproduce, and sanitizer output demonstrating the heap-use-after-free condition.

Classification
Writeup 90%
Attack Type
Dos
Complexity
Moderate
Reliability
Reliable
Target: Vim (master branch, specifically commit 3c5904d)
No auth needed
Prerequisites: Vim compiled with AddressSanitizer · POC file (referenced but not included)
devstral-2 · analyzed Feb 27, 2026 Full analysis →

Scores

CVSS v3 7.8
EPSS 0.0127
EPSS Percentile 66.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (5)
debian/debian_linux 9.0
debian/debian_linux 10.0
fedoraproject/fedora 34
fedoraproject/fedora 35
vim/vim < 8.2.3612
Published Nov 19, 2021
Tracked Since Feb 18, 2026