Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
Vim: Arbitrary Code Execution via PHP Omni-Completion
AV AC AT PR UI VC VI VA CVSS EPSS %ile KEV
L L N N A H H H 8.4 .0022 12.3 —
AFFECTED
Product Versions Fixed
vim < 9.2.0736 – —
TIMELINE
Jul 7 Reserved by GitHub_M
Jul 9 EXPLOIT PUBLISHED — CVE-2026-59856 (vim). Public exploit reference added.
Jul 9 Published (CNA: GitHub_M)
Description
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.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| July 7, 2026 | Reserved | Reserved by GitHub_M |
| July 9, 2026 | EXPLOIT PUBLISHED | EXPLOIT PUBLISHED — CVE-2026-59856 (vim). Public exploit reference added. |
| July 9, 2026 | Published | Published (CNA: GitHub_M) |
Affected
Affected products and packages — 1 row
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| vim | vim | — | < 9.2.0736 | — |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-59856 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.