Name | CVE-2016-1248 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-718-1, DSA-3722-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
neovim (PTS) | stretch (security), stretch (lts), stretch | 0.1.7-4+deb9u1 | fixed |
| buster | 0.3.4-3 | fixed |
| bullseye | 0.4.4-1 | fixed |
| bookworm | 0.7.2-7 | fixed |
| sid, trixie | 0.9.5-10 | fixed |
vim (PTS) | jessie, jessie (lts) | 2:7.4.488-7+deb8u11 | fixed |
| stretch (security) | 2:8.0.0197-4+deb9u7 | fixed |
| stretch (lts), stretch | 2:8.0.0197-4+deb9u11 | fixed |
| buster (security), buster, buster (lts) | 2:8.1.0875-5+deb10u6 | fixed |
| bullseye | 2:8.2.2434-3+deb11u1 | fixed |
| bookworm | 2:9.0.1378-2 | fixed |
| sid, trixie | 2:9.1.0861-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
neovim | source | (unstable) | 0.1.6-4 | | | |
vim | source | wheezy | 2:7.3.547-7+deb7u1 | | DLA-718-1 | |
vim | source | jessie | 2:7.4.488-7+deb8u1 | | DSA-3722-1 | |
vim | source | (unstable) | 2:8.0.0095-1 | | | |
Notes
Fixed by: https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a
Fixed by (neovim): https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040