CVE-2022-4141
HIGHCVSS 7.8/10EPSS 0.42%
Last modified
CVE-2022-4141 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
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
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vim | Vim | <= 9.0.0946 |
| Fedoraproject | Fedora | 36 |
| Fedoraproject | Fedora | 37 |
References
- https://github.com/vim/vim/commit/cc762a48d42b579fb7bdec2c614636b830342dd5Patch, Third Party Advisory
- https://huntr.dev/bounties/20ece512-c600-45ac-8a84-d0931e05541fExploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/vim/vim/commit/cc762a48d42b579fb7bdec2c614636b830342dd5Patch, Third Party Advisory
- https://huntr.dev/bounties/20ece512-c600-45ac-8a84-d0931e05541fExploit, Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-4141?
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.
How severe is CVE-2022-4141?
CVE-2022-4141 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 0.42% probability of exploitation in the next 30 days.
How do I fix CVE-2022-4141?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2022-4141?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
