CVE-2021-4173: Use After Free in vim/vim
Vulnerability summary
CVE-2021-4173 is a high (CVSS 7.8) Use After Free vulnerability in apple mac_os_x. EPSS estimates a 1.76% chance of exploitation in the next 30 days, higher than 78.7% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2Timeline
- 27-12-2021PublishedVulnerability first disclosed.
- 02-11-2026Last modifiedVulnerability information updated.
Description
vim is vulnerable to Use After Free
CVSS metrics
8 scores · 5 sources · 3 versions- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated6.8MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H
- NVDNIST6.8MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H
EPSS trend
Probability
1.76%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.76% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (huntr.dev)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Apple2 products
- mac_os_x10.15.7 | 10.15.7:security_update_2020-001 | 10.15.7:security_update_2021-001 | 10.15.7:security_update_2021-002 | 10.15.7:security_update_2021-003 | 10.15.7:security_update_2021-004 | 10.15.7:security_update_2021-005 | 10.15.7:security_update_2021-006 | 10.15.7:security_update_2021-007 | 10.15.7:security_update_2021-008 | 10.15.7:security_update_2022-001 | 10.15.7:security_update_2022-002 | 10.15.7:security_update_2022-003
- macosEOL< 12.3 | ≥ 11.0, < 11.6.6 | 10.15.7:security_update_2022-004
Alpine1 product
- vim< 8.2.4173-r0
Debian1 product
- vim< 2:8.2.3995-1
Fedoraproject1 product
- fedoraEOL34 | 35
Ubuntu1 product
- vim< 2:8.2.3995-1ubuntu2
6 vendors · 8 products
References
18 links- huntr.dev/bounties/a1b236b9-89fb-4ccf-9689-ba11b471e766X Refsource CONFIRMREPORTExploitThird Party Advisory
- github.com/vim/vim/commit/9c23f9bb5fe435b28245ba8ac65aa0ca6b902c04X Refsource MISCREPORTPatchThird Party Advisory