CVE-2022-2522: Heap-based Buffer Overflow in vim/vim
Vulnerability summary
CVE-2022-2522 is a high (CVSS 7.8) Heap-based Buffer Overflow vulnerability in vim. EPSS estimates a 0.58% chance of exploitation in the next 30 days, higher than 49.1% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 3Timeline
- 25-07-2022PublishedVulnerability first disclosed.
- 08-10-2026Last modifiedVulnerability information updated.
Description
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0061.
CVSS metrics
6 scores · 4 sources · 2 versions- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.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.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.58%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.58% 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
2 foundExploit Reference (huntr.dev)
Maturity: unknown
Exploit Reference (huntr.dev)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- vim< 2:9.0.0135-1
Opensuse1 product
- vim&distro=openSUSE Tumbleweed< 9.0.0032-1.2
Ubuntu1 product
- vimAll versions (No fix recorded) | < 2:8.2.3995-1ubuntu2.11
4 vendors · 5 products
References
12 links- security.gentoo.org/glsa/202305-16Vendor Advisory