{"id":"CVE-2016-1248","state":"PUBLISHED","title":"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 ","description":"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.","publishedAt":"2016-11-23T15:00:00.000Z","updatedAt":"2024-08-05T22:48:13.669Z","severity":null,"assigner":"debian","products":["n/a vim before patch 8.0.0056"],"affected":[{"vendor":"n/a","product":"vim before patch 8.0.0056","versions":[{"version":"vim before patch 8.0.0056","status":"affected"}]}],"references":["https://lists.debian.org/debian-security-announce/2016/msg00305.html","http://openwall.com/lists/oss-security/2016/11/22/20","https://security.gentoo.org/glsa/201701-29","http://www.debian.org/security/2016/dsa-3722","https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a","https://lists.debian.org/debian-lts-announce/2016/11/msg00025.html","http://www.ubuntu.com/usn/USN-3139-1","http://www.securitytracker.com/id/1037338","https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040","http://www.securityfocus.com/bid/94478","https://github.com/vim/vim/releases/tag/v8.0.0056","http://rhn.redhat.com/errata/RHSA-2016-2972.html","https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:33.324Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/1xxx/CVE-2016-1248.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-1248","state":"PUBLISHED","datePublished":"2016-11-23T15:00:00.000Z","dateUpdated":"2024-08-05T22:48:13.669Z","assignerShortName":"debian","assignerOrgId":"79363d38-fa19-49d1-9214-5f28da3f3ac5","dateReserved":"2015-12-27T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"vim before patch 8.0.0056","versions":[{"version":"vim before patch 8.0.0056","status":"affected"}]}],"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","name":"GLSA-201701-29","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.debian.org/security/2016/dsa-3722","name":"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","name":"[debian-lts-announce] 20161122 [SECURITY] [DLA 718-1] vim security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.ubuntu.com/usn/USN-3139-1","name":"USN-3139-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securitytracker.com/id/1037338","name":"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","name":"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","name":"RHSA-2016:2972","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"OS command injection","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"debian","dateUpdated":"2018-02-01T15:57:01.000Z","orgId":"79363d38-fa19-49d1-9214-5f28da3f3ac5"},"datePublic":"2016-11-23T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@debian.org","ID":"CVE-2016-1248","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"vim before patch 8.0.0056","version":{"version_data":[{"version_value":"vim before patch 8.0.0056"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"OS command injection"}]}]},"references":{"reference_data":[{"name":"https://lists.debian.org/debian-security-announce/2016/msg00305.html","refsource":"CONFIRM","url":"https://lists.debian.org/debian-security-announce/2016/msg00305.html"},{"name":"http://openwall.com/lists/oss-security/2016/11/22/20","refsource":"CONFIRM","url":"http://openwall.com/lists/oss-security/2016/11/22/20"},{"name":"GLSA-201701-29","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201701-29"},{"name":"DSA-3722","refsource":"DEBIAN","url":"http://www.debian.org/security/2016/dsa-3722"},{"name":"https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a","refsource":"CONFIRM","url":"https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a"},{"name":"[debian-lts-announce] 20161122 [SECURITY] [DLA 718-1] vim security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2016/11/msg00025.html"},{"name":"USN-3139-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-3139-1"},{"name":"1037338","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1037338"},{"name":"https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040","refsource":"CONFIRM","url":"https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040"},{"name":"94478","refsource":"BID","url":"http://www.securityfocus.com/bid/94478"},{"name":"https://github.com/vim/vim/releases/tag/v8.0.0056","refsource":"CONFIRM","url":"https://github.com/vim/vim/releases/tag/v8.0.0056"},{"name":"RHSA-2016:2972","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2016-2972.html"},{"name":"https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog","refsource":"CONFIRM","url":"https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-security-announce/2016/msg00305.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2016/11/22/20","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.gentoo.org/glsa/201701-29","name":"GLSA-201701-29","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.debian.org/security/2016/dsa-3722","name":"DSA-3722","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2016/11/msg00025.html","name":"[debian-lts-announce] 20161122 [SECURITY] [DLA 718-1] vim security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-3139-1","name":"USN-3139-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.securitytracker.com/id/1037338","name":"1037338","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/bid/94478","name":"94478","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://github.com/vim/vim/releases/tag/v8.0.0056","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2972.html","name":"RHSA-2016:2972","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T22:48:13.669Z"}}]}}}