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.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-41403OpenCart 3.x Newsletter Custom Popup was discovered to conta…9.8
- CVE-2022-41404An issue in the fetch() method in the BasicProfile class of …7.5
- CVE-2022-41406An arbitrary file upload vulnerability in the /admin/admin_p…7.2
- CVE-2022-41407Online Pet Shop We App v1.0 was discovered to contain a SQL …7.2
- CVE-2022-41408Online Pet Shop We App v1.0 was discovered to contain a SQL …9.8
- CVE-2022-41409Integer overflow vulnerability in pcre2test before 10.41 all…7.5
- CVE-2022-41412An issue in the graphData.cgi component of perfSONAR v4.4.5 …8.6
- CVE-2022-41413perfSONAR v4.x <= v4.4.5 was discovered to contain a Cross-S…4.3
- CVE-2022-41414An insecure default in the component auth.login.prompt.enabl…5.3
- CVE-2022-41415Acer Altos W2000h-W570h F4 R01.03.0018 was discovered to con…9.8
- CVE-2022-41416Online Tours & Travels Management System v1.0 was discovered…7.2
- CVE-2022-41417BlogEngine.NET v3.3.8.0 allows an attacker to create any fol…9.8
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
