Bug 2498868 (CVE-2026-59858) - CVE-2026-59858 vim: Vim: Arbitrary command execution via crafted tags file in C omni-completion
Summary: CVE-2026-59858 vim: Vim: Arbitrary command execution via crafted tags file in...
Keywords:
Status: NEW
Alias: CVE-2026-59858
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: 2499648
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-09 23:02 UTC by OSIDB Bzimport
Modified: 2026-09-28 11:56 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:15 UTC
Red Hat Product Errata RHSA-2026:48650 0 None None None 2026-07-30 13:50:55 UTC
Red Hat Product Errata RHSA-2026:48703 0 None None None 2026-07-30 10:48:05 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
Red Hat Product Errata RHSA-2026:68711 0 None None None 2026-09-17 19:08:10 UTC
Red Hat Product Errata RHSA-2026:69128 0 None None None 2026-09-21 02:45:20 UTC
Red Hat Product Errata RHSA-2026:70818 0 None None None 2026-09-23 15:54:36 UTC
Red Hat Product Errata RHSA-2026:72465 0 None None None 2026-09-28 11:56:03 UTC
Red Hat Product Errata RHSA-2026:72466 0 None None None 2026-09-28 11:30:17 UTC

Description OSIDB Bzimport 2026-07-09 23:02:05 UTC
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.

Comment 4 errata-xmlrpc 2026-07-29 17:34:14 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 10:48:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 6 errata-xmlrpc 2026-07-30 13:50:54 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 7 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 8 errata-xmlrpc 2026-08-18 12:25:48 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

Comment 9 Jon Orris 2026-09-17 19:08:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

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

Comment 10 Jon Orris 2026-09-21 02:45:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6 Extended Lifecycle Support  - EXTENSION

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

Comment 11 Jon Orris 2026-09-23 15:54:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

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

Comment 12 Jon Orris 2026-09-28 11:30:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

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

Comment 13 Jon Orris 2026-09-28 11:56:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

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


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