Bug 2499648 - CVE-2026-59858 vim: Vim: Arbitrary command execution via crafted tags file in C omni-completion [fedora-all]
Summary: CVE-2026-59858 vim: Vim: Arbitrary command execution via crafted tags file in...
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": ["c6df3b4e-4b22-4900-8dd9-0...
Depends On:
Blocks: CVE-2026-59858
TreeView+ depends on / blocked
 
Reported: 2026-07-13 11:59 UTC by Srikanth Balasubramanian
Modified: 2026-07-13 12:39 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 12:39:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-07-13 11:59:49 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.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.


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