Bug 2498867 (CVE-2026-59856) - CVE-2026-59856 vim: Vim: Arbitrary code execution via crafted PHP file in omni-completion
Summary: CVE-2026-59856 vim: Vim: Arbitrary code execution via crafted PHP file in omn...
Keywords:
Status: NEW
Alias: CVE-2026-59856
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2499645
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-09 23:02 UTC by OSIDB Bzimport
Modified: 2026-07-13 11:27 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-09 23:02:03 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.