{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-59858","published":"2026-07-09T23:17:06.740000Z","last_modified":"2026-07-14T05:16:19.603000Z","status":"Analyzed","cvss":{"version":"4.0","score":8.4,"severity":"HIGH","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-94"],"cpes":[{"criteria":"cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*","part":"a","vendor":"vim","product":"vim","version_end_excluding":"9.2.0735"}],"cpes_truncated":false,"vendors":["vim"],"products":["vim/vim"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":50,"links":{"html_es":"/es/cve/CVE-2026-59858/","html_en":"/en/cve/CVE-2026-59858/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-59858","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-59858"},"untrusted":{"vendor_name":"Vim","product_name":"Vim","desc_en":"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":[{"untrusted_vendor":"vim","untrusted_product":"vim","versions":[]}],"references":[{"url":"https://github.com/vim/vim/commit/6b611b0d15603c52ebdad17172b0232b4f65704e","tags":["Patch"]},{"url":"https://github.com/vim/vim/security/advisories/GHSA-mf92-v4xw-j45x","tags":["Patch","Vendor Advisory"]}]},"bulletins":[{"source":"redhat","id":"RHSA-2026:72465","url":"https://access.redhat.com/errata/RHSA-2026:72465","published":"2026-09-29T10:18:22+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: vim security update"}},{"source":"redhat","id":"RHSA-2026:72466","url":"https://access.redhat.com/errata/RHSA-2026:72466","published":"2026-09-29T10:18:22+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: vim security update"}},{"source":"redhat","id":"RHSA-2026:70818","url":"https://access.redhat.com/errata/RHSA-2026:70818","published":"2026-09-24T10:15:09+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: vim security update"}},{"source":"suse","id":"SUSE-SU-2026:3458-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20263458-1/","published":"2026-08-03T12:01:08+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for vim"}},{"source":"suse","id":"SUSE-SU-2026:3271-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20263271-1/","published":"2026-07-27T11:02:28+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for vim"}},{"source":"suse","id":"SUSE-SU-2026:3237-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20263237-1/","published":"2026-07-24T12:46:15+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for vim"}}]}