CVE-2022-3520: Heap-based Buffer Overflow in vim/vim
Vulnerability summary
CVE-2022-3520 is a critical (CVSS 9.8) Heap-based Buffer Overflow vulnerability in vim. EPSS estimates a 1.32% chance of exploitation in the next 30 days, higher than 71.8% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 02-12-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.
CVSS metrics
7 scores · 5 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- 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 · 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
1.32%
Chance of exploitation in the next 30 days
Percentile
72%
Versus all other CVEs
30-day change
Increase +0.25 pp
From 1.07% 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, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- vim< 8.2.4836-r1 | < 8.2.5000-r1
Debian1 product
- vim< 2:9.0.0813-1
Ubuntu1 product
- vim< 2:8.1.2269-1ubuntu5.18 | < 2:8.2.3995-1ubuntu2.12
4 vendors · 5 products
References
9 links- security.gentoo.org/glsa/202305-16Vendor Advisory