CVE-2016-1248

NameCVE-2016-1248
Descriptionvim 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-718-1, DSA-3722-1
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
neovim (PTS)stretch0.1.7-4fixed
buster0.2.0-3fixed
sid0.2.0-4fixed
vim (PTS)wheezy2:7.3.547-7vulnerable
wheezy (security)2:7.3.547-7+deb7u4fixed
jessie2:7.4.488-7+deb8u3fixed
jessie (security)2:7.4.488-7+deb8u2fixed
stretch2:8.0.0197-4+deb9u1fixed
buster, sid2:8.0.1144-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
neovimsource(unstable)0.1.6-4medium
vimsource(unstable)2:8.0.0095-1medium
vimsourcejessie2:7.4.488-7+deb8u1mediumDSA-3722-1
vimsourcewheezy2:7.3.547-7+deb7u1mediumDLA-718-1

Notes

Fixed by: https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a
Fixed by (neovim): https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040

Search for package or bug name: Reporting problems