CVE-2026-59856Vim
High 8.4
Follow: this CVE · Vim · Vim We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 4.0
- 8.4
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 9, 2026
- Updated
- Jul 14, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Vim is an open source, command line text editor. Prior to 9.2.0736, the PHP omni-completion script in runtime/autoload/phpcomplete.vim interpolates a class or trait name, taken from the contents of the edited buffer, into a search() pattern that is run via win_execute() without escaping. A name containing a single quote can terminate the search() string argument early, and because the bar is honored as an Ex command separator, the remainder of the name is run as Ex commands; via the :! command this allows arbitrary operating-system command execution when a victim opens a crafted PHP file and invokes omni-completion. This issue is fixed in version 9.2.0736.
What to do
- Apply the vendor's security update for Vim.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| vim | vim | < 9.2.0736 |
Official advisories
- Red Hat Security Advisory: vim security update · Red Hat · RHSA-2026:72465 · Sep 29, 2026 High
- Red Hat Security Advisory: vim security update · Red Hat · RHSA-2026:72466 · Sep 29, 2026 High
- Red Hat Security Advisory: vim security update · Red Hat · RHSA-2026:70818 · Sep 24, 2026 High
- Security update for vim · SUSE · SUSE-SU-2026:3458-1 · Aug 3, 2026 High
- Security update for vim · SUSE · SUSE-SU-2026:3271-1 · Jul 27, 2026 High
- Security update for vim · SUSE · SUSE-SU-2026:3237-1 · Jul 24, 2026 High
Also: Red Hat (+4), SUSE (+6)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Patch Vendor Advisory