CVE-2022-2522: vim Heap-based Buffer Overflow
CVSS: 7.8v3.0HighModified
AliasesUBUNTU-CVE-2022-2522DEBIAN-CVE-2022-2522openSUSE-SU-2024:12213-1
Published 25-07-2022Last modified 08-10-2026
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 46.6% of scored vulnerabilities. 2 public exploits are recorded.
CVSS score
7.8/10
010
High · v3.0 (CVE.org)EPSS score
0.58%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2reference
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 versionsHigh 7.8Preferred score · OSV · Ubuntu (Ecosystem advisory) · calculated from vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSourcesAll 3 agree
- 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
High 7.8Preferred score · CVE.org (CNA)
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSourcesAll 3 agree
- 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
47%
Versus all other CVEs
30-day change
0.00 pp
From 0.58% on 19-09-2026
19-09-202619-10-2026
EPSS score0.58%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (huntr.dev)
Maturity: unknown
Exploit Reference (huntr.dev)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
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