CVE-2022-4141

HIGH

Vim < 9.0.0946 - Out-of-Bounds Write

Title source: rule
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0004
EPSS Percentile 11.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-122 CWE-787
Status published
Products (3)
fedoraproject/fedora 36
fedoraproject/fedora 37
vim/vim < 9.0.0946
Published Nov 25, 2022
Tracked Since Feb 18, 2026