Back
CVE-2022-4141
Heap-based Buffer Overflow in vim/vim
High7.3EPSS 0.46%
- Published
- Updated
- Reserved
- Assigned by
- @huntrdev
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
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| @huntrdevCNA (assigner) | 3.0 | High7.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.46% · top 60% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.3.
Weakness
Affected products
References (7)
- https://huntr.dev/bounties/20ece512-c600-45ac-8a84-d0931e05541f (opens in a new tab)x_transferred
- https://github.com/vim/vim/commit/cc762a48d42b579fb7bdec2c614636b830342dd5 (opens in a new tab)x_transferred
- FEDORA-2022-1e14f3ae45 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-fc4c513d06 (opens in a new tab)vendor-advisoryx_transferred
- GLSA-202305-16 (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20230612 [SECURITY] [DLA 3453-1] vim security update (opens in a new tab)mailing-listx_transferred
- https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-4141)Record last updated .