CVE-2022-2042: Use After Free in vim/vim
Vulnerability summary
CVE-2022-2042 is a high (CVSS 7.8) Use After Free vulnerability in apple macos. EPSS estimates a 1.49% chance of exploitation in the next 30 days, higher than 74.9% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 2Timeline
- 10-06-2022PublishedVulnerability first disclosed.
- 08-10-2026Last modifiedVulnerability information updated.
Description
Use After Free in GitHub repository vim/vim prior to 8.2.
CVSS metrics
7 scores · 4 sources · 3 versions- 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 · calculated7.4HighCVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L
- NVDNIST7.4HighCVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L
EPSS trend
Probability
1.49%
Chance of exploitation in the next 30 days
Percentile
75%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.49% 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.
Apple1 product
- macos< 11.7 | ≥ 12.0, < 12.6
Debian1 product
- vim< 2:9.0.0135-1
Ubuntu1 product
- vim< 2:7.4.052-1ubuntu3.1+esm15 | < 2:7.4.1689-3ubuntu1.5+esm7 | < 2:8.0.1453-1ubuntu1.13+esm7 | < 2:8.1.2269-1ubuntu5.21 | < 2:8.2.3995-1ubuntu2.15
4 vendors · 5 products
References
16 links- support.apple.com/kb/HT213443Third Party Advisory
- support.apple.com/kb/HT213444Third Party Advisory
- support.apple.com/kb/HT213488Third Party Advisory
Show all 16 references
- security.gentoo.org/glsa/202305-16Vendor Advisory