CVE-2022-2304: Stack-based Buffer Overflow in vim/vim
Vulnerability summary
CVE-2022-2304 is a high (CVSS 7.8) Stack-based Buffer Overflow vulnerability in debian debian_linux. EPSS estimates a 1.49% chance of exploitation in the next 30 days, higher than 75% 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 8 · Related 5Timeline
- 05-07-2022PublishedVulnerability first disclosed.
- 08-10-2026Last modifiedVulnerability information updated.
Description
Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.
CVSS metrics
8 scores · 5 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
- 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
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, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- vim< 2:9.0.0135-1
- debian_linuxEOL10.0
Alpine1 product
- vim< 9.0.0050-r0
Fedoraproject1 product
- fedoraEOL35 | 36
Ubuntu1 product
- vim< 2:7.4.052-1ubuntu3.1+esm8 | < 2:7.4.1689-3ubuntu1.5+esm13 | < 2:8.0.1453-1ubuntu1.12 | < 2:8.1.2269-1ubuntu5.13 | < 2:8.2.3995-1ubuntu2.5
5 vendors · 7 products
References
15 links- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- security.gentoo.org/glsa/202305-16Vendor Advisory