8.4

CVE-2026-59856: Vim: Arbitrary Code Execution via PHP Omni-Completion

Analyzed
AliasesALPINE-CVE-2026-59856UBUNTU-CVE-2026-59856DEBIAN-CVE-2026-59856
Published 09-07-2026Last modified 14-07-2026

Vulnerability summary

CVE-2026-59856 is a high (CVSS 8.4) Improper Control of Generation of Code vulnerability in vim. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.6% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.4/10
010
High · v4.0 (CVE.org)
EPSS score
0.24%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 18 · Related 10

Timeline

  1. 09-07-2026
    PublishedVulnerability first disclosed.
  2. 14-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 5 sources · 2 versions

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

16%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.22% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Vim

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • vim< 9.2.0854-r0 | < 9.2.0747-r0
Debian1 product
  • vimAll versions (No fix recorded) | < 2:9.1.1230-2+deb13u1 | < 2:9.2.0782-1
Ubuntu1 product
  • vim< 2:8.2.3995-1ubuntu2.34 | < 2:9.1.0016-1ubuntu7.18 | < 2:9.1.2141-1ubuntu4.7
Vim1 product

4 vendors · 4 products

References

8 links