CVE-2016-1248
HIGH 7.8CVSS 3.0vim 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.
- Published
- 23 Nov 2016
- Last modified
- 17 Jun 2026
- Assigned by
- security@debian.org
- NVD status
- Modified
- Weakness
- CWE-20
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vim | vimcpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* |
<= 8.0.0055 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 |
References
- http://openwall.com/lists/oss-security/2016/11/22/20 · Patch, Third Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-2972.html
- http://www.debian.org/security/2016/dsa-3722
- http://www.securityfocus.com/bid/94478
- http://www.securitytracker.com/id/1037338
- http://www.ubuntu.com/usn/USN-3139-1
- https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog · Patch, Third Party Advisory
- https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040 · Patch, Vendor Advisory
- https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a · Patch, Vendor Advisory
- https://github.com/vim/vim/releases/tag/v8.0.0056 · Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2016/11/msg00025.html · Mailing List, Third Party Advisory
- https://lists.debian.org/debian-security-announce/2016/msg00305.html · Third Party Advisory
- https://security.gentoo.org/glsa/201701-29
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 23 Nov 2016)