CVE-2022-4141

Heap-based Buffer Overflow in vim/vim

Published Nov 25, 2022 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3453-1 vim security update
Debian DLA Debian DLA DLA-4097-1 vim security update
EUVD EUVD EUVD-2022-51503 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.
History
Type Values Removed Values Added
First Time appeared Debian
Debian debian Linux
Neovim
Neovim neovim
CPEs cpe:2.3:a:neovim:neovim:*:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
Vendors & Products Debian
Debian debian Linux
Neovim
Neovim neovim
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntrdev
Published
Updated
Nov 3, 2025, 8:35 PM
Reserved
Nov 25, 2022, 12:00 AM
Status
Analyzed
Published
Nov 25, 2022, 2:15 PM
Modified
Sep 24, 2026, 3:38 PM
Severity
Low
Public date
Nov 25, 2022, 12:00 AM