LiveActive security incident?Get immediate response
CVE Record

CVE-2021-4187: Use After Free in vim/vim

vim is vulnerable to Use After Free

MediumCVSS 6.8Not KEV-listedUpdated
Glexia's TakeAutomated analysis

Security readout for executives and security teams

CVE-2021-4187 is a use-after-free flaw in Vim. An attacker would need local context and user interaction, such as getting a user to open content in Vim. The public score shows possible high integrity and availability impact, but the record does not show internet-remote exposure or known active exploitation. Exposure is most likely on workstations, servers, build images, and macOS/Linux systems with vulnerable Vim packages installed. Risk is higher where users or automation open untrusted files in Vim. The bundle does not specify exact vulnerable version ranges. Handle this as a normal patch-management item, not an emergency internet-exposed incident. Prioritize developer workstations, administrative servers, and managed macOS/Linux fleets because Vim is widely installed and the rated impact includes integrity and availability. Mitigation focus: Update Vim using the operating system or vendor package channel.; Prioritize systems where Vim opens untrusted files or runs in privileged workflows.; Apply vendor security updates from Fedora, Apple, Gentoo, Debian, or the relevant distributor..

Prepared

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-416: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-4187 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.8 (3.0)
Known Exploited
No
Published

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
10Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.8CVSS 3.0MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H1.35.5Primary CVE score

Vulnerability scoring details

Base CVSS 3.0 score

6.8Medium
CVSS 3.0 vector shape for CVE-2021-4187Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
vimvim/vimunspecifiedListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-416 · source CWE mapping

Use After Free

Use After Free represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.