CVEfocus › CVE database › CVE-2016-1248

CVE-2016-1248

CVSS 7.8 HighEPSS 25.3% (higher than 98% of CVEs)Published 2016-11-23Updated 2024-08-05Assigner: debian

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.

What to do

Likely to be exploited: EPSS gives a 25% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

63Fixed
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04vimFixed2:7.4.1689-3ubuntu1.2UBUNTU-CVE-2016-1248
Ubuntu 14.04vimFixed2:7.4.052-1ubuntu3.1UBUNTU-CVE-2016-1248
Debian 14neovimFixed0.1.6-4DEBIAN-CVE-2016-1248
Debian 14vimFixed2:8.0.0095-1DEBIAN-CVE-2016-1248
Debian 13neovimFixed0.1.6-4DEBIAN-CVE-2016-1248
Debian 13vimFixed2:8.0.0095-1DEBIAN-CVE-2016-1248
Debian 12neovimFixed0.1.6-4DEBIAN-CVE-2016-1248
Debian 12vimFixed2:8.0.0095-1DEBIAN-CVE-2016-1248
Red Hat Enterprise Linux 7vimFixed2:7.4.160-1.el7_3.1RHSA-2016:2972
Red Hat Enterprise Linux 7vim-X11Fixed2:7.4.160-1.el7_3.1RHSA-2016:2972
Red Hat Enterprise Linux 7vim-commonFixed2:7.4.160-1.el7_3.1RHSA-2016:2972
Red Hat Enterprise Linux 7vim-enhancedFixed2:7.4.160-1.el7_3.1RHSA-2016:2972
Red Hat Enterprise Linux 7vim-filesystemFixed2:7.4.160-1.el7_3.1RHSA-2016:2972
Red Hat Enterprise Linux 7vim-minimalFixed2:7.4.160-1.el7_3.1RHSA-2016:2972
Red Hat Enterprise Linux 6vimFixed2:7.4.629-5.el6_8.1RHSA-2016:2972
Red Hat Enterprise Linux 6vim-X11Fixed2:7.4.629-5.el6_8.1RHSA-2016:2972
Red Hat Enterprise Linux 6vim-commonFixed2:7.4.629-5.el6_8.1RHSA-2016:2972
Red Hat Enterprise Linux 6vim-enhancedFixed2:7.4.629-5.el6_8.1RHSA-2016:2972
Red Hat Enterprise Linux 6vim-filesystemFixed2:7.4.629-5.el6_8.1RHSA-2016:2972
Red Hat Enterprise Linux 6vim-minimalFixed2:7.4.629-5.el6_8.1RHSA-2016:2972
Red Hat Enterprise Linux 5vimWill not fix
Will not fix
Alpine Linux 3.24neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.24vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.23neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.23vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.22neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.22vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.21neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.21vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.20neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.20vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.19neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.19vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.18neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.18vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.17neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.17vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.16neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.16vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.15neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.15vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.14neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.14vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.13neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.13vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.12neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.12vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.11neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.11vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.10neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.10vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.9neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.9vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.8neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.8vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.7neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.7vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.6neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.6vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.5neovimFixed0.1.6-r1ALPINE-CVE-2016-1248
Alpine Linux 3.5vimFixed8.0.0056-r0ALPINE-CVE-2016-1248
Alpine Linux 3.4vimFixed7.4.1831-r2ALPINE-CVE-2016-1248
Alpine Linux 3.3vimFixed7.4.943-r4ALPINE-CVE-2016-1248
Alpine Linux 3.2vimFixed7.4.712-r1ALPINE-CVE-2016-1248

What the vendor says

As published in the CVE record by debian, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.