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-08-31 13:31 UTC (History)
21 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:47982 0 None None None 2026-07-29 17:34:13 UTC
Red Hat Product Errata RHSA-2026:48650 0 None None None 2026-07-30 13:50:52 UTC
Red Hat Product Errata RHSA-2026:54769 0 None None None 2026-08-18 12:25:49 UTC
Red Hat Product Errata RHSA-2026:55431 0 None None None 2026-08-17 02:29:55 UTC

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.

Comment 4 errata-xmlrpc 2026-07-29 17:34:12 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:47982 https://access.redhat.com/errata/RHSA-2026:47982

Comment 5 errata-xmlrpc 2026-07-30 13:50:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:48650 https://access.redhat.com/errata/RHSA-2026:48650

Comment 6 errata-xmlrpc 2026-08-17 02:29:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:55431 https://access.redhat.com/errata/RHSA-2026:55431

Comment 7 errata-xmlrpc 2026-08-18 12:25:47 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.22

Via RHSA-2026:54769 https://access.redhat.com/errata/RHSA-2026:54769


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