7.8

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.

Overall risk
41/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.0 (CVE.org)
EPSS score
0.58%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2reference

Advisory lineage

Upstream 0 · Downstream 4 · Related 3

Timeline

  1. 25-07-2022
    PublishedVulnerability first disclosed.
  2. 08-10-2026
    Last 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

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 score
0.58%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (huntr.dev)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (huntr.dev)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Vim2 products
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
Show all 12 references