Back
CVE-2021-4187
Use After Free in vim/vim
Medium6.8EPSS 1.8%
- Published
- Updated
- Reserved
- Assigned by
- @huntrdev
Description
vim is vulnerable to Use After Free
Timeline
ID reserved
By @huntrdev
- 1 day later
· 1 day later
Published
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| @huntrdevCNA (assigner) | 3.0 | Medium6.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.8% · top 22% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Weakness
Affected products
References (13)
- https://huntr.dev/bounties/a8bee03a-6e2e-43bf-bee3-4968c5386a2e (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/vim/vim/commit/4bf1006cae7e87259ccd5219128c3dba75774441 (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2022-a3d70b50f0 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- [oss-security] 20220114 Re: 3 new CVE's in vim (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- FEDORA-2022-48b86d586f (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- https://support.apple.com/kb/HT213183 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20220314 APPLE-SA-2022-03-14-4 macOS Monterey 12.3 (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- https://support.apple.com/kb/HT213256 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20220516 APPLE-SA-2022-05-16-3 macOS Big Sur 11.6.6 (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- https://support.apple.com/kb/HT213343 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20220721 APPLE-SA-2022-07-20-4 Security Update 2022-005 Catalina (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- GLSA-202208-32 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2021-4187)Record last updated .