Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2022-4141 Details

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://github.com/vim/vim/commit/cc762a48d42b579fb7bdec2c614636b830342dd5 CVEPatchThird Party Advisory
https://huntr.dev/bounties/20ece512-c600-45ac-8a84-d0931e05541f CVEExploitIssue TrackingPatchThird Party Advisory
https://lists.debian.org/debian-lts-announce/2023/06/msg00015.html CVEMailing ListThird Party Advisory
https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html CVEMailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AZ3JMSUCR6Y7626RDWQ2HNSUFIQOJ33G/ CVEMailing ListThird Party Advisory

see all 13 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-122Heap-based Buffer Overflow[email protected]
CWE-787Out-of-bounds Write[email protected]

Affected Products

ProductVersions
debian debian linux
10.0
11.0

CPE

  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
neovim neovim
>= 0.1.0, < 0.10.0

CPE

  • cpe:2.3:a:neovim:neovim:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
vim vim
<= 9.0.0946

CPE

  • cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
fedoraproject fedora
36
37

CPE

  • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

14 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2022-4141
NVD Published Date:
Nov 25, 2022
NVD Last Modified:
Sep 24, 2026
Source:
[email protected]