CVE-2022-0318: Heap-based Buffer Overflow in vim/vim
Vulnerability summary
CVE-2022-0318 is a critical (CVSS 9.8) Heap-based Buffer Overflow vulnerability in apple macos. EPSS estimates a 2.20% chance of exploitation in the next 30 days, higher than 83.1% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.6, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 8Timeline
- 21-01-2022PublishedVulnerability first disclosed.
- 15-11-2024Last modifiedVulnerability information updated.
Description
Heap-based Buffer Overflow in vim/vim prior to 8.2.
CVSS metrics
7 scores · 4 sources · 3 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated6.6MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
- NVDNIST6.6MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
EPSS trend
Probability
2.20%
Chance of exploitation in the next 30 days
Percentile
83%
Versus all other CVEs
30-day change
Increase +0.17 pp
From 2.03% 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, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- vim< 2:8.2.4659-1
- debian_linuxEOL10.0
Apple1 product
- macos< 13.0
Ubuntu1 product
- vimAll versions (No fix recorded) | < 2:7.4.1689-3ubuntu1.5+esm4 | < 2:8.0.1453-1ubuntu1.13 | < 2:8.1.2269-1ubuntu5.14 | < 2:8.2.3995-1ubuntu2.7
4 vendors · 6 products
References
16 links- support.apple.com/kb/HT213444Third Party Advisory
- support.apple.com/kb/HT213488Third Party Advisory