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.
Conclusion & alert: CVE-2022-4141 is rated Exploit Available (58.4/100): CVSS High severity, with low exploitation likelihood (EPSS 0.42%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.03% | 0.42% | +0.39% |
| 2 | 2025-11-21 | 0.15% | 0.03% | -0.12% |
| 3 | 2025-11-18 | — | 0.15% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | [email protected] |
| 7.3 | 3.0 | HIGH |
|
1.3 | 5.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
high | CVE-2022-4141: 1 source package rows (vim); 7 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 7, open 0. | https://security.alpinelinux.org/vuln/CVE-2022-4141 |
debian
|
not yet assigned | CVE-2022-4141 not yet assigned priority: Debian including 1 source packages (vim), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2022-4141 |
gentoo
|
low | CVE-2022-4141: 1 GLSA(s) (202305-16), 3 atom(s) (app-editors/gvim, app-editors/vim, app-editors/vim-core); latest impact low. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-4141 |
redhat
|
low | — | https://access.redhat.com/security/cve/CVE-2022-4141 |
suse
|
high | CVE-2022-4141 severity important: SUSE including 271 source package names (11.1-2.2.335:vim-9.0.1040-150000.5.31.1, 11.1-2.2.335:vim-data-common-9.0.1040-150000.5.31.1, …), 690 product×package rows across 190 product lines (Container ses/7.1/ceph/haproxy, Container suse/sle-micro-rancher/5.2, … (190 product lines)): Fixed 566, Known Affected 124. | https://www.suse.com/security/cve/CVE-2022-4141/ |
ubuntu
|
medium | CVE-2022-4141 medium priority: Ubuntu including 1 source packages (vim), 8 status rows across 8 suites (bionic, focal, jammy, kinetic, lunar, trusty, upstream, xenial): ignored 6, needs-triage 1, not-affected 1. | https://ubuntu.com/security/CVE-2022-4141 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| vim | vim | <= 9.0.0946 | cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* |
| fedoraproject | fedora | 36 | cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
| fedoraproject | fedora | 37 | cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |