REDHAT-BUG-2498868: Medium severity vim Vim vulnerability

Published Jul 9, 2026
·
Updated

Vim is an open source, command line text editor. Prior to 9.2.0735, the C omni-completion script in runtime/autoload/ccomplete.vim interpolates the typeref: or typename: extension field of a tags entry, without escaping, into a :vimgrep pattern that is run through :execute. Because :vimgrep honors the bar as a command separator, a crafted tag field can close the search pattern and append an arbitrary Ex command; opening a hostile .c file whose project tags file contains such an entry and invoking C omni-completion runs that command as the editing user. This issue is fixed in version 9.2.0735.

Affected Software

1 affected component
vim Vim<9.2.0735

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.2.0735

Event History

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

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2498868?

The severity of REDHAT-BUG-2498868 is medium with a risk score of 4.

2

How do I fix REDHAT-BUG-2498868?

To fix REDHAT-BUG-2498868, update Vim to version 9.2.0735 or later.

3

What does REDHAT-BUG-2498868 affect?

REDHAT-BUG-2498868 affects the Vim command line text editor prior to version 9.2.0735.

4

What is the vulnerability in REDHAT-BUG-2498868?

The vulnerability in REDHAT-BUG-2498868 involves an interpolation of unescaped fields in a vimgrep pattern which can lead to execution of arbitrary commands.

5

When was REDHAT-BUG-2498868 published?

REDHAT-BUG-2498868 was published on July 9, 2026.

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