{"id":"JLSEC-2026-1874","details":"Vim is an open source, command line text editor. Prior to version 9.2.0496, a code injection vulnerability exists in s:stepmatch() in the cucumber filetype plugin (`runtime/ftplugin/cucumber.vim`) on Vim builds with +ruby support. Step-definition patterns read from .rb files under the repository's features/*/ or stories/*/ directories are embedded into a Ruby Kernel.eval argument without sufficient escaping, allowing a crafted pattern in an attacker-controlled repository to execute arbitrary Ruby (and through it arbitrary shell commands) when the user invokes a step-jump mapping ([d, ]d). This issue has been patched in version 9.2.0496.","modified":"2026-12-02T14:45:10.495727433Z","published":"2026-12-02T14:32:56.182Z","upstream":["CVE-2026-47167","EUVD-2026-36280"],"database_specific":{"sources":[{"html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47167","database_specific":{"status":"Analyzed"},"affected":{"vim:vim":["\u003c 9.2.0496"]},"id":"CVE-2026-47167","imported":"2026-12-02T14:11:18.574Z","modified":"2026-06-17T10:54:22.263Z","published":"2026-06-11T19:16:44.560Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-47167"},{"affected":{"vim:vim":["\u003c 9.2.0496"]},"id":"EUVD-2026-36280","imported":"2026-12-02T14:11:20.011Z","modified":"2026-06-12T12:47:36Z","published":"2026-06-11T18:31:44Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-36280","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-36280"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://github.com/vim/vim/commit/a65a52d684bc58535ad28a4ae824d22e76399934"},{"type":"WEB","url":"https://github.com/vim/vim/releases/tag/v9.2.0496"},{"type":"WEB","url":"https://github.com/vim/vim/security/advisories/GHSA-4473-94jm-w5x9"}],"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-1874.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:L/I:L/A:L","source":"NVD"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/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"}]}