SB2026060814 - Code Injection in Vim



SB2026060814 - Code Injection in Vim

Published: June 8, 2026

Security Bulletin ID SB2026060814
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Local access
Highest impact Code execution

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Code Injection (CVE-ID: N/A)

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a local user to execute arbitrary code.

The vulnerability exists due to improper control of code generation in Python omni-completion in runtime/autoload/python3complete.vim and pythoncomplete.vim when reconstructing and executing function and class definitions from a hostile Python buffer during omni-completion. A local user can trick the victim into opening or editing a crafted Python buffer and triggering omni-completion to execute arbitrary code.

Only builds with +python3 or +python are affected, and triggering omni-completion in the hostile buffer is required.


Remediation

Install update from vendor's website.