CVE-2021-4187: apple mac_os_x Use After Free
CVSS: 7.8v3.1HighModified
AliasesALPINE-CVE-2021-4187UBUNTU-CVE-2021-4187DEBIAN-CVE-2021-4187
Published 29-12-2021Last modified 03-11-2025
Vulnerability summary
CVE-2021-4187 is a high (CVSS 7.8) Use After Free vulnerability in apple mac_os_x. EPSS estimates a 1.62% chance of exploitation in the next 30 days, higher than 75.6% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
7.8/10
010
High · v3.1 (NVD)EPSS score
1.62%
0%100%
Low · -0.01 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference
Advisory lineage
Upstream 0 · Downstream 2Timeline
- 29-12-2021PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
vim is vulnerable to Use After Free
CVSS metrics
8 scores · 5 sources · 3 versionsHigh 7.8Preferred score · NVD (NIST)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSourcesAll 4 agree
- 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
Medium 6.8Preferred score · CVE.org (CNA)
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:HSourcesAll 3 agree
- 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
Medium 6.8Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
1.62%
Chance of exploitation in the next 30 days
Percentile
76%
Versus all other CVEs
30-day change
-0.01 pp
From 1.63% on 18-09-2026
18-09-202618-10-2026
EPSS score1.62%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (huntr.dev)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
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/a8bee03a-6e2e-43bf-bee3-4968c5386a2eX Refsource CONFIRMREPORTExploitThird Party Advisory
- github.com/vim/vim/commit/4bf1006cae7e87259ccd5219128c3dba75774441X Refsource MISCREPORTPatchThird Party Advisory