| 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, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-718-1, DSA-3722-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| neovim (PTS) | bullseye | 0.4.4-1 | fixed |
| bookworm | 0.7.2-7 | fixed | |
| trixie | 0.10.4-8 | fixed | |
| forky | 0.11.4-4 | fixed | |
| sid | 0.11.5-1 | fixed | |
| vim (PTS) | bullseye | 2:8.2.2434-3+deb11u1 | fixed |
| bullseye (security) | 2:8.2.2434-3+deb11u3 | fixed | |
| bookworm | 2:9.0.1378-2+deb12u2 | fixed | |
| forky, trixie | 2:9.1.1230-2 | fixed | |
| sid | 2:9.1.1882-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 |
Fixed by: https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a
Fixed by (neovim): https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040