# CVE-2016-1248

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2016-11-23 · Modified: 2024-08-05
- Aliases: ALPINE-CVE-2016-1248, SUSE-SU-2016:2938-1, SUSE-SU-2016:2942-1, RHSA-2016:2972, UBUNTU-CVE-2016-1248, USN-3139-1, DEBIAN-CVE-2016-1248, DLA-718-1, DSA-3722-1
- Record: https://cvemate.com/vulnerability/CVE-2016-1248 · JSON: https://cvemate.com/vulnerability/CVE-2016-1248/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.0, NVD) CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 25.314%, percentile 97.99%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 23)

- alpine neovim (Alpine Linux): \< 0.1.6-r1
- alpine vim (Alpine Linux): \< 8.0.0056-r0 \| \< 7.4.712-r1 \| \< 7.4.943-r4 \| \< 7.4.1831-r2
- debian neovim (Debian): \< 0.1.6-4
- debian vim (Debian): \< 2:8.0.0095-1 \| \< 2:7.4.488-7+deb8u1 \| \< 2:7.3.547-7+deb7u1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1 \| \< 2:7.4.1689-3ubuntu1.2
- debian debian\_linux: 8.0
- redhat vim (Red Hat): \< 2:7.4.629-5.el6\_8.1 \| \< 2:7.4.160-1.el7\_3.1
- redhat vim-common (Red Hat): \< 2:7.4.629-5.el6\_8.1 \| \< 2:7.4.160-1.el7\_3.1
- redhat vim-debuginfo (Red Hat): \< 2:7.4.629-5.el6\_8.1 \| \< 2:7.4.160-1.el7\_3.1
- redhat vim-enhanced (Red Hat): \< 2:7.4.629-5.el6\_8.1 \| \< 2:7.4.160-1.el7\_3.1
- redhat vim-filesystem (Red Hat): \< 2:7.4.629-5.el6\_8.1 \| \< 2:7.4.160-1.el7\_3.1
- redhat vim-minimal (Red Hat): \< 2:7.4.629-5.el6\_8.1 \| \< 2:7.4.160-1.el7\_3.1
- redhat vim-X11 (Red Hat): \< 2:7.4.629-5.el6\_8.1 \| \< 2:7.4.160-1.el7\_3.1
- suse vim&distro=SUSE Linux Enterprise Desktop 12 SP1 (SUSE Linux Enterprise): \< 7.4.326-7.1
- suse vim&distro=SUSE Linux Enterprise Desktop 12 SP2 (SUSE Linux Enterprise): \< 7.4.326-7.1
- suse vim&distro=SUSE Linux Enterprise Server 11 SP4 (SUSE Linux Enterprise): \< 7.2-8.17.1
- suse vim&distro=SUSE Linux Enterprise Server 12 SP1 (SUSE Linux Enterprise): \< 7.4.326-7.1
- suse vim&distro=SUSE Linux Enterprise Server 12 SP2 (SUSE Linux Enterprise): \< 7.4.326-7.1
- suse vim&distro=SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 (SUSE Linux Enterprise): \< 7.4.326-7.1
- suse vim&distro=SUSE Linux Enterprise Server for SAP Applications 11 SP4 (SUSE Linux Enterprise): \< 7.2-8.17.1

## References (first 20 of 29)

- <https://lists.debian.org/debian-security-announce/2016/msg00305.html>
- <http://openwall.com/lists/oss-security/2016/11/22/20>
- <https://security.gentoo.org/glsa/201701-29>
- <http://www.debian.org/security/2016/dsa-3722>
- <https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a>
- <https://lists.debian.org/debian-lts-announce/2016/11/msg00025.html>
- <http://www.ubuntu.com/usn/USN-3139-1>
- <http://www.securitytracker.com/id/1037338>
- <https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040>
- <http://www.securityfocus.com/bid/94478>
- <https://github.com/vim/vim/releases/tag/v8.0.0056>
- <http://rhn.redhat.com/errata/RHSA-2016-2972.html>
- <https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog>
- <https://security.alpinelinux.org/vuln/CVE-2016-1248>
- <https://www.suse.com/support/update/announcement/2016/suse-su-20162938-1/>
- <https://bugzilla.suse.com/1010685>
- <https://www.suse.com/security/cve/CVE-2016-1248>
- <https://www.suse.com/support/update/announcement/2016/suse-su-20162942-1/>
- <https://bugzilla.suse.com/988903>
- <https://access.redhat.com/errata/RHSA-2016:2972>

---

Data as of 2026-12-05T07:32:00.756Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
