Bug 2499645 - CVE-2026-59856 vim: Vim: Arbitrary code execution via crafted PHP file in omni-completion [fedora-all]
Summary: CVE-2026-59856 vim: Vim: Arbitrary code execution via crafted PHP file in omn...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["2c7d6fd4-8a5a-4f5f-8029-2...
Depends On:
Blocks: CVE-2026-59856
TreeView+ depends on / blocked
 
Reported: 2026-07-13 11:21 UTC by Srikanth Balasubramanian
Modified: 2026-07-13 11:44 UTC (History)
3 users (show)

Fixed In Version: vim-9.2.780-1.fc43, vim-9.2.780-1.fc44, vim-9.2.780-1.fc45
Clone Of:
Environment:
Last Closed: 2026-07-13 11:44:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-07-13 11:21:37 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.