Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Not in CISA KEV

GHSA-fh26-8f79-wj97 — vim

Fix: vim/vim@43afc58

GHSA-fh26-8f79-wj97 is a Code Injection vulnerability. A fix is available — see the affected versions and patch details below.

Vim: Arbitrary Code Execution via PHP Omni-Completion

Published
Jul 9, 2026
Updated
Aug 12, 2026
Affected
1 product
Patched
See advisory
Exploits
None indexed
Exploitation data as of Sep 30, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • A successful exploit gives an attacker total control of the affected component, not partial access.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-fh26-8f79-wj97.

EPSS Exploitation Probability

via FIRST.org ↗
0.2%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs11th percentile — riskier than 11% of all scored CVEsHighest risk

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

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.

Affected Products

1 product · 1 configurations
Application
vimvim
< 9.2.0736
range

Detection & mitigation playbook

Vulnerability
  1. Detect

    Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).

  2. Fix

    Upgrade the affected component to the fixed release for GHSA-fh26-8f79-wj97, or apply your distribution's backported patch — distro builds are often patched at an older version number, so check your vendor's advisory rather than the upstream version alone.

  3. Workarounds

    Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

Red Hat Product Security has rated this vulnerability as having a Moderate impact. While successful exploitation allows for arbitrary operating-system command execution when a user opens a crafted PHP file and triggers omni-completion, this feature is disabled by default in Red Hat products. The requirement for a…

Workaround published by Red Hat
Users should exercise caution when opening untrusted PHP files and avoid invoking omni-completion on them. To prevent exploitation, the PHP omni-completion script can be disabled by moving or renaming `phpcomplete.vim`. For example, execute `mv /usr/share/vim/vim*/autoload/phpcomplete.vim /usr/share/vim/vim*/autoload/phpcomplete.vim.bak`. This action will disable PHP omni-completion functionality. A restart of Vim is necessary for this change to take effect.
Source: Red Hat security advisory for GHSA-fh26-8f79-wj97 (CC BY 4.0)
ProductFixed inAdvisory
Red Hat Enterprise Linux 10vim-2:9.1.083-9.el10_2.12RHSA-2026:48650
Red Hat Enterprise Linux 10.0 Extended Update Supportvim-2:9.1.083-5.el10_0.4RHSA-2026:55431
Red Hat Enterprise Linux 9vim-2:8.2.2637-26.el9_8.13RHSA-2026:47982
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsvim-2:8.2.2637-20.el9_2.3RHSA-2026:72466
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsvim-2:8.2.2637-20.el9_4.4RHSA-2026:72465
Red Hat Enterprise Linux 9.6 Extended Update Supportvim-2:8.2.2637-22.el9_6.4RHSA-2026:70818
Red Hat OpenShift Container Platform 4.22rhcos-4.22.9.8.202608130832-0RHSA-2026:54769
Red Hat AI Inference Server 3.2rhaiis/model-opt-cuda-rhel9:1790621714RHSA-2026:73859

Frequently Asked Questions

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 i
O3 Security · Impact-Aware SCA

Is GHSA-fh26-8f79-wj97 in your dependencies?

Find it across , including transitive dependencies.

GHSA-fh26-8f79-wj97: vim | O3 Security