SB2026072419 - Buffer underflow in Vim



SB2026072419 - Buffer underflow in Vim

Published: July 24, 2026

Security Bulletin ID SB2026072419
CSH Severity
Low
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Buffer underflow (CVE-ID: N/A)

CWE-ID: CWE-124 - Buffer Underwrite ('Buffer Underflow')

CVSSv4: 1.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to read and modify memory outside the bounds of a heap array.

The vulnerability exists due to out-of-bounds write in popup_mark_opacity_zindex() in src/popupwin.c when processing Vim script-created popup windows with the "clipwindow", "opacity", and text property anchor options after the host window is scrolled so the anchor moves above the visible area. A remote attacker can trick the victim into running a crafted Vim script to read and modify memory outside the bounds of a heap array.

The issue is not reachable by opening a file alone, because a modeline cannot call functions.


Remediation

Install update from vendor's website.