Skip to main content

Vim CVE-2026-73075

| EUVDEUVD-2026-56230 MEDIUM
Buffer Underwrite ('Buffer Underflow') (CWE-124)
2026-08-11 GitHub_M
4.6
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Open crafted Vim file or script
  2. Delivery
    Trigger text-property-anchored popup with clipwindow and opacity
  3. Exploit
    Negative w_winrow computed without w_popup_topoff offset
  4. Execution
    Index before screen array base
  5. Persist
    Out-of-bounds read and conditional write
  6. Impact
    Vim crash or limited memory corruption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer boundary checks
Exploitation Conditions

Exploitation requires that the affected Vim version (9.2.0469-9.2.0842) is running locally on the target system, and that the user opens or executes a Vim session (via a crafted file, script, or plugin) that simultaneously activates a text-property-anchored popup window configured with both the 'clipwindow' and 'opacity' options. This is a non-default, feature-specific configuration - standard Vim usage without these popup options is not affected. The CVSS 4.0 UI:A metric confirms that the user must actively perform an action (opening the triggering content) for exploitation to occur. Exploitation is limited to the scope of the Vim process itself (no scope change); no network access, elevated privileges, or remote delivery mechanism is involved.

Impact

The CVSS 4.0 score of 4.6 with vector AV:L/AC:L/AT:N/PR:N/UI:A accurately reflects the constrained threat model: exploitation requires local system access and active user interaction (the user must open or execute a Vim session triggering the specific popup configuration). The integrity and availability impacts are both rated Low, consistent with a conditional write and potential crash rather than arbitrary code execution. No EPSS score was provided in the intelligence data, limiting probabilistic exploitation forecasting. The vulnerability is not listed in the CISA KEV catalog, and no proof-of-concept code has been identified. The combination of local-only vector, mandatory user interaction, and a very specific feature configuration (text-property-anchored popup with clipwindow and opacity simultaneously enabled) substantially reduces real-world exploitation likelihood compared to the already-modest CVSS score. This is a genuine low-priority issue for most environments - the primary risk is crash-level denial of service to an individual Vim session, not system compromise.

Exploit ScenarioDerived

A local user or a malicious file opened in Vim triggers a scenario where a text-property-anchored popup window is rendered with both the clipwindow and opacity options active, causing the popup's computed top row to become negative. This induces popup_mark_opacity_zindex() to index before the screen array boundary, resulting in a memory read from an out-of-bounds location and a potential conditional write, which could crash the Vim process or corrupt adjacent memory. No public proof-of-concept is known at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 11, 2026

Out-of-bounds read and conditional write in Vim 9.2.0469 through 9.2.0842 can be triggered when a text-property-anchored popup window is configured with both clipwindow and opacity settings active. The defect in popup_mark_opacity_zindex() (src/popupwin.c) fails to account for w_popup_topoff when w_winrow is negative, causing the function to index before the start of the screen array - a classic buffer underwrite (CWE-124). Real-world impact is constrained by the local attack vector, mandatory user interaction, and non-default feature combination required; no public exploit or active exploitation has been identified at time of analysis.

RemediationAI

Upgrade Vim to version 9.2.0843 or later, which contains the upstream fix for this issue per the vendor security advisory at https://github.com/vim/vim/security/advisories/GHSA-pmvp-6rcj-98p4. This is the primary and recommended remediation. As a compensating control where upgrading is not immediately feasible, administrators can restrict or disable use of Vim's popup window features involving text-property anchoring combined with clipwindow and opacity - though this may impact workflows dependent on plugin or script functionality that uses these features. Package maintainers on major Linux distributions should track the upstream release for backport availability. No workaround eliminates the root cause; patching is the authoritative fix.

Affected VersionsENISA

vim 9.2.0469, < 9.2.0843

Affected Packages

euvd vim_9_2_0469 fix: 9.2.0843

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Vim's popup window subsystem exposes advanced layout objects, including text-property-anchored popups that can float relative to buffer content. The affected function popup_mark_opacity_zindex() in src/popupwin.c is responsible for marking z-index and opacity attributes on popup window rows within the screen rendering array. When a popup is both anchored to a text property and constrained by a clipwindow, the effective top row (w_winrow) can become negative if the popup is positioned above the visible area. The code fails to offset this value by w_popup_topoff, resulting in a negative index into the screen array - a buffer underwrite classified under CWE-124 (Buffer Underwrite / Buffer Underflow). This can produce an out-of-bounds read and, conditionally, a write before the array's base address. Affected CPE: cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* versions 9.2.0469 through 9.2.0842.

Know when Vim gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 4.6 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.4 MEDIUM

Local-only vector; no privileges required to use Vim; user interaction mandatory to trigger the popup; limited integrity and availability impact from conditional OOB write and potential crash; no confidentiality impact.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
SUSE 4.4 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Red Hat 4.4 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 11, 2026 - 17:02 EUVD
CVE Published
Aug 11, 2026 - 15:36 cve.org
MEDIUM 4.6

DescriptionCVE.org

Vim is an open source, command line text editor. From 9.2.0469 until 9.2.0843, popup_mark_opacity_zindex() in src/popupwin.c can use a negative w_winrow for a text-property-anchored popup with clipwindow and opacity, indexing before the screen array instead of accounting for w_popup_topoff and causing an out-of-bounds read and conditional write. This issue is fixed in version 9.2.0843.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
widely deployed terminal text editor across Linux, macOS, and Unix systems
Data Quality
8 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

23
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +23
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

More in Vim

View all
CVE-2022-3520 CRITICAL POC
9.8 Dec 02

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765. Rated critical severity (CVSS 9.8), this vuln

CVE-2022-0729 HIGH POC
8.8 Feb 23

Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 8.2.4440. Rated high severity (CVSS 8.8), this

CVE-2026-34714 HIGH POC
8.6 Mar 30

Code execution vulnerability in Vim before 9.2.0272 allows attackers to gain immediate arbitrary command execution upon

CVE-2019-12735 HIGH POC
8.6 Jun 05

getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via th

CVE-2021-3968 HIGH POC
8.0 Nov 19

vim is vulnerable to Heap-based Buffer Overflow. Rated high severity (CVSS 8.0), this vulnerability is remotely exploita

CVE-2022-1616 HIGH POC
7.8 May 07

Use after free in append_command in GitHub repository vim/vim prior to 8.2.4895. Rated high severity (CVSS 7.8), this vu

CVE-2022-1619 HIGH POC
7.8 May 08

Heap-based Buffer Overflow in function cmdline_erase_chars in GitHub repository vim/vim prior to 8.2.4899. Rated high se

CVE-2021-4136 HIGH POC
7.8 Dec 19

vim is vulnerable to Heap-based Buffer Overflow. Rated high severity (CVSS 7.8), this vulnerability is no authentication

CVE-2021-3973 HIGH POC
7.8 Nov 19

vim is vulnerable to Heap-based Buffer Overflow. Rated high severity (CVSS 7.8), this vulnerability is no authentication

CVE-2021-3927 HIGH POC
7.8 Nov 05

vim is vulnerable to Heap-based Buffer Overflow. Rated high severity (CVSS 7.8), this vulnerability is no authentication

CVE-2022-2125 HIGH POC
7.8 Jun 19

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2. Rated high severity (CVSS 7.8), this vulnerability

CVE-2022-2126 HIGH POC
7.8 Jun 19

Out-of-bounds Read in GitHub repository vim/vim prior to 8.2. Rated high severity (CVSS 7.8), this vulnerability is no a

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SLES15-SP5-CHOST-BYOS-SAP-CCloud Affected
SLES15-SP6-CHOST-BYOS Affected
SLES15-SP6-CHOST-BYOS-Aliyun Affected
SLES15-SP6-CHOST-BYOS-Azure Affected
SLES15-SP6-CHOST-BYOS-EC2 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy