CVE-2021-4166 — Out-of-bounds Read in vim/vim
vim is vulnerable to Out-of-bounds Read
Who exploits it and how urgent it is
A 0–100 score combining confirmed exploitation, ransomware and APT use, public exploits, EPSS and severity.
How the score was calculated
- EPSS 1.6% (30-day exploitation probability)+11
- Technical severity (high)+6
The score orders the patch queue; it does not replace your asset context (internet exposure, criticality, compensating controls).
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the sources call it.
CISA SSVC assessment CISA
Three decision points CISA publishes for the CVEs it assesses (SSVC 2.0.3). A stakeholder decision, not a severity score.
Remediation
Fixes and mitigations documented by the sources — linked to the original advisory.
- Documented patch — github.com (NIST National Vulnerability Database)
- Documented patch — huntr.dev (NIST National Vulnerability Database)
First 24 hours
Ordered from the record’s own fields — exposure first, because you cannot patch what you have not found. A rule-generated starting point.
- Identify exposed assets running the affected vendor/product/version combinations (Apple Mac Os X, Apple Macos, Debian Debian Linux…).
- Apply the fixed version or the patch documented under Remediation.
- Exploitation requires user interaction: tighten email/web filtering and warn affected users.
- Search available logs for exploit probes matching the vulnerability class (memory corruption), errors and authentication anomalies.
Affected scope
Vendor, product and versions as the sources word them.
| Vendor | Product | Versions | Status | Source |
|---|---|---|---|---|
| Apple | Mac Os X |
version 10.15.7-security_update_2020-001version 10.15.7-security_update_2022-001version 10.15.7-security_update_2021-008version 10.15.7-security_update_2021-007version 10.15.7-security_update_2021-006version 10.15.7-security_update_2021-005version 10.15.7-security_update_2021-004version 10.15.7-security_update_2021-003 and 5 moreversion 10.15.7-security_update_2021-002version 10.15.7-security_update_2021-001version 10.15.7version 10.15.7-security_update_2022-002version 10.15.7-security_update_2022-003 |
Vulnerable | NIST National Vulnerability Database |
| Apple | Macos | version 10.15.7-security_update_2022-004≥ 11.0 and < 11.6.6< 12.3 | Vulnerable | NIST National Vulnerability Database |
| Debian | Debian Linux | version 11.0version 10.0version 9.0 | Vulnerable | NIST National Vulnerability Database |
| Fedoraproject | Fedora | version 35version 34 | Vulnerable | NIST National Vulnerability Database |
| Opensuse | Factory | versions not specified by the source | Vulnerable | NIST National Vulnerability Database |
| Red Hat | Enterprise Linux | version 8.0 | Vulnerable | NIST National Vulnerability Database |
| SUSE | Linux Enterprise | version 12.0version 15.0 | Vulnerable | NIST National Vulnerability Database |
| Vim | Vim | < 8.2.3884 | Vulnerable | NIST National Vulnerability Database |
| Vim | Vim | < 8.2 | Vulnerable | CVE Program (cve.org) e CISA ADP |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Every base score collected
Sources score independently and may disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Scored by |
|---|---|---|---|---|---|
| 7.1 | CVSS 3.1 | High | 1.8 | 5.2 | nvd@nist.gov via NIST National Vulnerability Database |
| 7.1 | CVSS 3.1 | High | — | — | GitHub, Inc. via GitHub Security Advisories |
| 7.1 | CVSS 3.0 | High | 1.8 | 5.2 | security@huntr.dev via NIST National Vulnerability Database |
| 7.1 | CVSS 3.0 | High | — | — | @huntrdev via CVE Program (cve.org) e CISA ADP |
| 5.8 | CVSS 2.0 | Medium | 8.6 | 4.9 | nvd@nist.gov via NIST National Vulnerability Database |
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H (score shown at the top: nvd@nist.gov) Weakness MITRE
Weakness class according to MITRE’s CWE catalog.
EPSS over time FIRST
Oct 13, 2026 → Oct 14, 2026 · 2 reading(s) · max 1.58%
Detection
Read off the CVSS vector and the weakness class. Starting points, not tested rules.
- Local/physical vector: focus on endpoint telemetry (EDR) from affected hosts.
- Correlate service crashes/restarts with inbound traffic; repeated crashes may indicate attempts.
Timeline
What happened to this CVE, newest first.
- 2026
- Affected products added · vim/vim/vim
- SSVC assessment updated
- Record published
- Fix documented
- CVSS changed · 7.1
- Source status changed · → Modified
- Record created in this database
- 2021
- CVE published
Source activity
Repeated readings are counted rather than listed.
- 1× References added · Oct 13, 2026 – Oct 13, 2026
- 1× Official description updated · Oct 13, 2026 – Oct 13, 2026
References
18 on the record
- github.com/vim/vim/commit/6f98371532fcff911b462d51bc64f2ce8a6ae682
- huntr.dev/bounties/229df5dd-5507-44e9-832c-c70364bdf035
- nvd.nist.gov/vuln/detail/CVE-2021-4166
- security.gentoo.org/glsa/202208-32
- github.com/advisories/GHSA-5q95-22v3-59qw
- www.openwall.com/lists/oss-security/2022/01/15/1
- support.apple.com/kb/HT213256
- seclists.org/fulldisclosure/2022/May/35
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2EY2
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3FH2
- support.apple.com/kb/HT213183
- seclists.org/fulldisclosure/2022/Jul/14
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2EY2VF
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3FH2
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2EY2
- support.apple.com/kb/HT213343
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3FH2J5
- seclists.org/fulldisclosure/2022/Mar/29
Elsewhere on this site
Related CVEs (same products)
- Medium CVE-2026-104046 Sssd: sssd: denial of service via incomplete identity provider authentication requests 8d
- Medium CVE-2026-104045 Sssd: sssd: denial of service via race condition in autofs responder 8d
- Medium CVE-2026-104047 Sssd: sssd: information disclosure via query injection in entra id lookups 8d
- High CVE-2026-104048 Sssd: sssd: authorization bypass via cross-domain username collision in hbac evaluation 8d
- High CVE-2026-102558 Libsoup: libsoup: heap buffer overflow during websocket receive-buffer growth 16d
- High CVE-2026-102555 Libsoup: libsoup: heap buffer overflow via uninitialized length in data-uri base64 decoding 16d
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record
Text assembled only from the fields above — no additional claims.
What should defenders know first?
CVE-2021-4166 is "Out-of-bounds Read in vim/vim", rated High. It affects Mac Os X (Apple); versions are in the scope table. It is not in CISA KEV, which does not rule out exploitation. CVSS 7.1 describes technical severity. EPSS 1.58% estimates the probability of exploitation in 30 days; neither replaces your asset context. First verify whether exposed or business-critical assets run the affected versions, apply vendor fixes or mitigations, and preserve logs for review.
Comments
Moderated technical discussion. Read the community guidelines.
No comments yet.
Sign in or create an account to comment and suggest corrections.