CVE-2026-73073: Vim: Arbitrary Ex Command Execution in C Omni-Completion

Published Aug 18, 2026
·
Updated

Vim is an open source, command line text editor. Prior to 9.2.0845, StructMembers() in runtime/autoload/ccomplete.vim constructs and executes a vimgrep command using an insufficiently escaped typeref: or typename: value from a tags file, allowing an unterminated collection followed by a command separator to execute arbitrary Ex and operating-system commands when a user invokes C omni-completion with CTRL-X CTRL-O on a member access whose type is resolved from that tags file. This issue is fixed in version 9.2.0845.

Affected Software

1 affected component
vim Vim<9.2.0845

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.0845

Event History

Aug 18, 2026
CVE Published
via MITRE·03:25 PM
Data Sourced
via MITRE·03:25 PM
DescriptionWeakness

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Users of Vim versions before 9.2.0845 are exposed when they use C omni-completion with CTRL-X CTRL-O and the member type is resolved from a tags file containing an attacker-controlled typeref: or typename: value.

2

What is required for exploitation?

An attacker needs to cause Vim to use a crafted tags file and induce or wait for the user to invoke C omni-completion on a relevant member access. The crafted type value must contain an unterminated collection followed by a command separator.

3

What should be done if patching cannot happen immediately?

Upgrade Vim to version 9.2.0845. If upgrading is not immediately possible, avoid invoking C omni-completion against code whose type information may be resolved from untrusted tags files.

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