{"id":"CVE-2016-1248","published":"2016-11-23T15:00:00Z","modified":"2024-08-05T22:48:13Z","title":"vim before patch 8.0.0056 does not properly validate values for the 'filetype', 'syntax' and 'keymap' options, which…","vendor":null,"product":null,"tier":"tail","description":{"text":"vim before patch 8.0.0056 does not properly validate values for the 'filetype', 'syntax' and 'keymap' options, which may result in the execution of arbitrary code if a file with a specially crafted modeline is opened.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.25314,"percentile":0.97987,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.debian.org/debian-security-announce/2016/msg00305.html","tags":["x_refsource_CONFIRM"]},{"url":"http://openwall.com/lists/oss-security/2016/11/22/20","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201701-29","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.debian.org/security/2016/dsa-3722","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2016/11/msg00025.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.ubuntu.com/usn/USN-3139-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securitytracker.com/id/1037338","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/94478","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://github.com/vim/vim/releases/tag/v8.0.0056","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2972.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog","tags":["x_refsource_CONFIRM"]}],"priority":{"score":19.6,"factors":[{"name":"EPSS percentile","points":19.6}]},"affectedVersions":[{"vendor":"n/a","product":"vim before patch 8.0.0056","versions":["vim before patch 8.0.0056"]}],"summary":{"text":"The flaw is in vim before patch 8.0.0056, where the 'filetype', 'syntax' and 'keymap' options are not properly validated. Opening a file containing a specially crafted modeline can cause arbitrary code to be executed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:39:43Z"},"euvd":{"id":"EUVD-2016-2347","exploited":false,"provenance":"source"}}