CVE-2022-3491: vim Heap-based Buffer Overflow
CVSS: 7.8v3.1HighModified
AliasesUBUNTU-CVE-2022-3491DEBIAN-CVE-2022-3491
Published 03-12-2022Last modified 23-04-2025
Vulnerability summary
CVE-2022-3491 is a high (CVSS 7.8) Heap-based Buffer Overflow vulnerability in vim. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 42.6% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
7.8/10
010
High · v3.1 (NVD)EPSS score
0.52%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference
Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 03-12-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0742.
CVSS metrics
6 scores · 4 sources · 2 versionsHigh 7.8Preferred score · NVD (NIST)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSourcesAll 3 agree
- 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
Medium 4.0Preferred score · CVE.org (CNA)
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated4.0MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST4.0MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.52%
Chance of exploitation in the next 30 days
Percentile
43%
Versus all other CVEs
30-day change
0.00 pp
From 0.51% on 20-09-2026
20-09-202620-10-2026
EPSS score0.52%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (huntr.dev)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Debian1 product
- vim< 2:9.0.0813-1
Ubuntu1 product
- vim< 2:8.2.3995-1ubuntu2.12
3 vendors · 4 products
References
7 links- security.gentoo.org/glsa/202305-16Vendor Advisory