REDHAT-BUG-2498867: Medium severity vim vulnerability

Published Jul 9, 2026
·
Updated

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 winexecute() 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 Software

1 affected component
vim<9.2.0736

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Vim to a version that resolves this vulnerability.

    Fixed in 9.2.0736

Event History

Jul 9, 2026
Data Sourced
via Red Hat·11:02 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2498867?

The severity of REDHAT-BUG-2498867 is classified as medium with a score of 4.

2

How do I fix REDHAT-BUG-2498867?

To fix REDHAT-BUG-2498867, upgrade to Vim version 9.2.0736 or later.

3

What is the risk associated with REDHAT-BUG-2498867?

The risk associated with REDHAT-BUG-2498867 is rated at 19.

4

What is affected by REDHAT-BUG-2498867?

REDHAT-BUG-2498867 affects the Vim text editor, specifically the PHP omni-completion script.

5

What issue does REDHAT-BUG-2498867 describe?

REDHAT-BUG-2498867 describes an issue where an interpolated class or trait name in a search pattern is run without escaping.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203