7.8

CVE-2022-2522: Heap-based Buffer Overflow in vim/vim

Modified
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 49.1% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
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 listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

49%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.58% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (huntr.dev)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (huntr.dev)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

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