9.8

CVE-2022-3520: vim Heap-based Buffer Overflow

CVSS: 9.8v3.1CriticalModified
AliasesALPINE-CVE-2022-3520UBUNTU-CVE-2022-3520DEBIAN-CVE-2022-3520
Published 02-12-2022Last modified 23-04-2025

Vulnerability summary

CVE-2022-3520 is a critical (CVSS 9.8) Heap-based Buffer Overflow vulnerability in vim. EPSS estimates a 1.07% chance of exploitation in the next 30 days, higher than 64.3% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
1.07%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 3 · Related 3

Timeline

  1. 02-12-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last 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

EPSS trend

Probability

1.07%

Chance of exploitation in the next 30 days

Percentile

64%

Versus all other CVEs

30-day change

+0.04 pp

From 1.03% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.07%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (huntr.dev)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Vim2 products
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