7.8

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

Analyzed
AliasesALPINE-CVE-2022-4141MGASA-2022-0464UBUNTU-CVE-2022-4141
Published 25-11-2022Last modified 03-11-2025

Vulnerability summary

CVE-2022-4141 is a high (CVSS 7.8) Heap-based Buffer Overflow vulnerability in debian debian_linux. EPSS estimates a 0.47% chance of exploitation in the next 30 days, higher than 42.6% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.47%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 4 · Related 2

Timeline

  1. 25-11-2022
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

Description

Heap based buffer overflow in vim/vim 9.0.0946 and below by allowing an attacker to CTRL-W gf in the expression used in the RHS of the substitute command.

CVSS metrics

7 scores · 5 sources · 2 versions

EPSS trend

Probability

0.47%

Chance of exploitation in the next 30 days

Percentile

43%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.46% 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

1 found
  • referenceUnverified

    Exploit Reference (huntr.dev)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
Vim2 products
Alpine1 product
  • vim< 9.0.0999-r0
Fedoraproject1 product
Mageia1 product
  • vim< 9.0.963-1.mga8
Neovim1 product
Ubuntu1 product
  • vimAll versions (No fix recorded)

7 vendors · 9 products

References

15 links
Show all 15 references