CVE-2021-4166
HIGHCVSS 7.1/10EPSS 1.59%
Last modified
CVE-2021-4166 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. vim is vulnerable to Out-of-bounds Read. EPSS estimates a 1.59% chance of exploitation in the next 30 days.
Description
vim is vulnerable to Out-of-bounds Read
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Vim | Vim | < 8.2.3884 | — |
| Redhat | Enterprise Linux | 8.0 | — |
| Opensuse | Factory | All versions | — |
| Suse | Linux Enterprise | 12.0 | — |
| Suse | Linux Enterprise | 15.0 | — |
| Debian | Debian Linux | 9.0 | — |
| Debian | Debian Linux | 10.0 | — |
| Debian | Debian Linux | 11.0 | — |
| Fedoraproject | Fedora | 34 | — |
| Fedoraproject | Fedora | 35 | — |
| Apple | Mac Os X | 10.15.7 | — |
| Apple | Macos | < 12.3 | — |
| Apple | Macos | >= 11.0, < 11.6.6 | — |
| Apple | Macos | 10.15.7 | Security Update 2022-004 |
References
- http://seclists.org/fulldisclosure/2022/Jul/14Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Mar/29Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/May/35Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2022/01/15/1Mailing List, Third Party Advisory
- https://github.com/vim/vim/commit/6f98371532fcff911b462d51bc64f2ce8a6ae682Patch, Third Party Advisory
- https://huntr.dev/bounties/229df5dd-5507-44e9-832c-c70364bdf035Exploit, Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202208-32Third Party Advisory
- https://support.apple.com/kb/HT213183Release Notes, Third Party Advisory
- https://support.apple.com/kb/HT213256Third Party Advisory
- https://support.apple.com/kb/HT213343Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Jul/14Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Mar/29Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/May/35Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2022/01/15/1Mailing List, Third Party Advisory
- https://github.com/vim/vim/commit/6f98371532fcff911b462d51bc64f2ce8a6ae682Patch, Third Party Advisory
- https://huntr.dev/bounties/229df5dd-5507-44e9-832c-c70364bdf035Exploit, Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202208-32Third Party Advisory
- https://support.apple.com/kb/HT213183Release Notes, Third Party Advisory
- https://support.apple.com/kb/HT213256Third Party Advisory
- https://support.apple.com/kb/HT213343Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-4166?
vim is vulnerable to Out-of-bounds Read
How severe is CVE-2021-4166?
CVE-2021-4166 has a CVSS score of 7.1/10 (HIGH severity). The EPSS model estimates a 1.59% probability of exploitation in the next 30 days.
How do I fix CVE-2021-4166?
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 2021
- CVE-2021-41652Insecure permissions in the file database.sdb of BatFlat CMS…7.5
- CVE-2021-41653The PING function on the TP-Link TL-WR840N EU v5 router with…9.8
- CVE-2021-41654SQL injection vulnerabilities exist in Wuzhicms v4.1.0 which…9.8
- CVE-2021-41657SmartBear CodeCollaborator v6.1.6102 was discovered to conta…6.1
- CVE-2021-41658Cross Site Scripting (XSS) in Sourcecodester Student Quarter…5.4
- CVE-2021-41659SQL injection vulnerability in Sourcecodester Banking System…9.8
- CVE-2021-41660SQL injection vulnerability in Sourcecodester Patient Appoin…9.8
- CVE-2021-41661Church Management System version 1.0 is affected by a SQL an…9.8
- CVE-2021-41662The South Gate Inn Online Reservation System v1.0 contains a…9.8
- CVE-2021-41663A cross-site scripting (XSS) vulnerability exists in Mini CM…6.1
- CVE-2021-41672PEEL Shopping CMS 9.4.0 is vulnerable to authenticated SQL i…6.5
- CVE-2021-41674An SQL Injection vulnerability exists in Sourcecodester E-Ne…9.8
Are you affected by CVE-2021-4166?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
