CVE-2021-4136 — Heap-based Buffer Overflow in vim/vim
vim is vulnerable to Heap-based Buffer Overflow
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 2% (30-day exploitation probability)+12
- 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, Fedoraproject Fedora…).
- 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_2021-001version 10.15.7-security_update_2022-004version 10.15.7-security_update_2022-003version 10.15.7-security_update_2022-002version 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-006 and 9 moreversion 10.15.7-security_update_2021-003version 10.15.7-security_update_2021-002version 10.15.7-security_update_2020-007version 10.15.7-security_update_2020-005version 10.15.7-security_update_2020-001version 10.15.7-security_update_2020version 10.15.7≥ 10.15 and < 10.15.7version 10.15.7-supplemental_update |
Vulnerable | NIST National Vulnerability Database |
| Apple | Macos | ≥ 12.0 and < 12.3≥ 11.0 and < 11.6.6 | Vulnerable | NIST National Vulnerability Database |
| Fedoraproject | Fedora | version 35version 34 | Vulnerable | NIST National Vulnerability Database |
| Vim | Vim | < 8.2.3847 | Vulnerable | NIST National Vulnerability Database |
| Vim | Vim | < 8.2.3846 | 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.8 | CVSS 3.1 | High | 1.8 | 5.9 | nvd@nist.gov via NIST National Vulnerability Database |
| 7.3 | CVSS 3.0 | High | 1.8 | 5.5 | security@huntr.dev via NIST National Vulnerability Database |
| 7.3 | CVSS 3.0 | High | — | — | @huntrdev via CVE Program (cve.org) e CISA ADP |
| 6.8 | CVSS 2.0 | Medium | 8.6 | 6.4 | nvd@nist.gov via NIST National Vulnerability Database |
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/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.97%
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.8
- Source status changed · → Modified
- Record created in this database
- 2021
- CVE published
Source activity
Repeated readings are counted rather than listed.
- 1× Official description updated · Oct 13, 2026 – Oct 13, 2026
References
12 on the record
- huntr.dev/bounties/5c6b93c1-2d27-4e98-a931-147877b8c938
- github.com/vim/vim/commit/605ec91e5a7330d61be313637e495fa02a6dc264
- seclists.org/fulldisclosure/2022/Mar/29
- support.apple.com/kb/HT213343
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2EY2
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3FH2
- seclists.org/fulldisclosure/2022/Jul/14
- support.apple.com/kb/HT213183
- seclists.org/fulldisclosure/2022/May/35
- support.apple.com/kb/HT213256
- www.openwall.com/lists/oss-security/2022/01/15/1
- security.gentoo.org/glsa/202208-32
Elsewhere on this site
Related CVEs (same products)
- High CVE-2026-86950 Apple Multiple Products Out-of-Bounds Write Vulnerability KEV 16d
- High CVE-2026-73078 Vim: Arbitrary Code Execution via Netrw Menu Construction Aug 11, 2026
- High CVE-2026-73077 Vim: Arbitrary Code Execution via Shell Keyword Lookup Aug 11, 2026
- High CVE-2026-73072 Vim: Heap Buffer Overflow when Loading a Spell File Aug 11, 2026
- Low CVE-2026-73071 Vim: Use-after-free in JSON Decoding Aug 11, 2026
- Medium CVE-2026-73074 Vim: Heap Buffer Overflow in Text Property Handling Aug 11, 2026
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-4136 is "Heap-based Buffer Overflow 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.8 describes technical severity. EPSS 1.97% 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.