{"id":"JLSEC-2026-1886","details":"Vim is an open source, command line text editor. Prior to 9.2.0736, the PHP omni-completion script in `runtime/autoload/phpcomplete.vim` interpolates a class or trait name, taken from the contents of the edited buffer, into a search() pattern that is run via `win_execute()` without escaping. A name containing a single quote can terminate the search() string argument early, and because the bar is honored as an Ex command separator, the remainder of the name is run as Ex commands; via the :! command this allows arbitrary operating-system command execution when a victim opens a crafted PHP file and invokes omni-completion. This issue is fixed in version 9.2.0736.","modified":"2026-12-02T14:45:11.156592767Z","published":"2026-12-02T14:32:56.182Z","upstream":["CVE-2026-59856","EUVD-2026-42753"],"database_specific":{"license":"CC-BY-4.0","sources":[{"database_specific":{"status":"Analyzed"},"affected":{"vim:vim":["\u003c 9.2.0736"]},"id":"CVE-2026-59856","imported":"2026-12-02T14:11:18.592Z","modified":"2026-07-14T05:16:19.477Z","published":"2026-07-09T23:17:06.420Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-59856","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59856"},{"url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-42753","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-42753","affected":{"vim:vim":["\u003c 9.2.0736"]},"id":"EUVD-2026-42753","imported":"2026-12-02T14:11:19.992Z","modified":"2026-07-14T03:55:39Z","published":"2026-07-09T22:39:01Z"}]},"references":[{"type":"WEB","url":"https://github.com/vim/vim/commit/43afc581a37a35762dd0ef292f038b9dc5680a24"},{"type":"WEB","url":"https://github.com/vim/vim/security/advisories/GHSA-fh26-8f79-wj97"}],"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-1886.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"}]}