{"id":"JLSEC-2026-1888","details":"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.","modified":"2026-12-02T14:45:10.547214676Z","published":"2026-12-02T14:32:56.182Z","upstream":["CVE-2026-59858","EUVD-2026-42752"],"database_specific":{"sources":[{"url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-59858","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59858","database_specific":{"status":"Analyzed"},"affected":{"vim:vim":["\u003c 9.2.0735"]},"id":"CVE-2026-59858","imported":"2026-12-02T14:11:18.594Z","modified":"2026-07-14T05:16:19.603Z","published":"2026-07-09T23:17:06.740Z"},{"html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-42752","affected":{"vim:vim":["\u003c 9.2.0735"]},"id":"EUVD-2026-42752","imported":"2026-12-02T14:11:19.992Z","modified":"2026-07-14T03:55:38Z","published":"2026-07-09T22:37:52Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-42752"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://github.com/vim/vim/commit/6b611b0d15603c52ebdad17172b0232b4f65704e"},{"type":"WEB","url":"https://github.com/vim/vim/security/advisories/GHSA-mf92-v4xw-j45x"}],"affected":[{"package":{"name":"Vim_jll","ecosystem":"Julia","purl":"pkg:julia/Vim_jll?uuid=1e82aed4-b73c-514c-b6b0-721e3fbe9c02"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1888.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD"},{"type":"CVSS_V4","score":"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":"CNA"}]}