
CVE catalog
CVE-2016-1248
vim: CVE-2016-1248
- Severity
- High · CVSS 7.8
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 25.31% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | vim | sid | 2:9.2.0858-1 | fixed |
| Debian | vim | forky | 2:9.2.0858-1 | fixed |
| Debian | vim | trixie | 2:9.1.1230-2 | fixed |
| Debian | vim | bookworm | 2:9.0.1378-2+deb12u2 | fixed |
| Debian | neovim | sid | 0.12.4-1 | fixed |
| Debian | neovim | forky | 0.12.4-1 | fixed |
| Debian | neovim | trixie | 0.10.4-8 | fixed |
| Debian | neovim | bookworm | 0.7.2-7 | fixed |
| Alpine | vim | 3.10 | 8.0.0056-r0 | fixed |
| Alpine | vim | 3.11 | 8.0.0056-r0 | fixed |
| Alpine | vim | 3.12 | 8.0.0056-r0 | fixed |
| Alpine | vim | 3.13 | 8.0.0056-r0 | fixed |
| Alpine | vim | 3.14 | 8.0.0056-r0 | fixed |
| Alpine | vim | 3.15 | 8.0.0056-r0 | fixed |
| Alpine | vim | 3.16 | 8.0.0056-r0 | fixed |
| Alpine | vim | 3.17 | 8.0.0056-r0 | fixed |
| Alpine | vim | 3.18 | 8.0.0056-r0 | fixed |
| Alpine | vim | 3.19 | 8.0.0056-r0 | fixed |
| Alpine | vim | 3.2 | 7.4.712-r1 | fixed |
| Alpine | vim | 3.20 | 8.0.0056-r0 | fixed |
| Alpine | vim | 3.21 | 8.0.0056-r0 | fixed |
| Alpine | vim | 3.22 | 8.0.0056-r0 | fixed |
| Alpine | vim | 3.23 | 8.0.0056-r0 | fixed |
| Alpine | vim | 3.3 | 7.4.943-r4 | fixed |
| Alpine | vim | 3.4 | 7.4.1831-r2 | fixed |
| Alpine | vim | 3.5 | 8.0.0056-r0 | fixed |
| Alpine | vim | 3.6 | 8.0.0056-r0 | fixed |
| Alpine | vim | 3.7 | 8.0.0056-r0 | fixed |
| Alpine | vim | 3.8 | 8.0.0056-r0 | fixed |
| Alpine | vim | 3.9 | 8.0.0056-r0 | fixed |
| Ubuntu | vim | 14.04 | 2:7.4.000-1ubuntu2 | vulnerable |
| Ubuntu | vim | 14.04 | 2:7.4.052-1ubuntu1 | vulnerable |
| Ubuntu | vim | 14.04 | 2:7.4.052-1ubuntu2 | vulnerable |
| Ubuntu | vim | 14.04 | 2:7.4.052-1ubuntu3 | vulnerable |
| Ubuntu | vim | 14.04 | 2:7.4.052-1ubuntu3.1 | fixed |
| Ubuntu | vim | 16.04 | 2:7.4.712-2ubuntu4 | vulnerable |
| Ubuntu | vim | 16.04 | 2:7.4.826-1ubuntu1 | vulnerable |
| Ubuntu | vim | 16.04 | 2:7.4.826-1ubuntu2 | vulnerable |
| Ubuntu | vim | 16.04 | 2:7.4.826-1ubuntu3 | vulnerable |
| Ubuntu | vim | 16.04 | 2:7.4.963-1ubuntu1 | vulnerable |
| Ubuntu | vim | 16.04 | 2:7.4.963-1ubuntu4 | vulnerable |
| Ubuntu | vim | 16.04 | 2:7.4.963-1ubuntu5 | vulnerable |
| Ubuntu | vim | 16.04 | 2:7.4.1689-3ubuntu1 | vulnerable |
| Ubuntu | vim | 16.04 | 2:7.4.1689-3ubuntu1.1 | vulnerable |
| Ubuntu | vim | 16.04 | 2:7.4.1689-3ubuntu1.2 | fixed |
| Suse | vim | linux enterprise desktop 12 sp1 | 7.4.326-7.1 | fixed |
| Suse | vim | linux enterprise desktop 12 sp2 | 7.4.326-7.1 | fixed |
| Suse | vim | linux enterprise server for raspberry pi 12 sp2 | 7.4.326-7.1 | fixed |
| Suse | vim | linux enterprise server 12 sp1 | 7.4.326-7.1 | fixed |
| Suse | vim | linux enterprise server for sap applications 12 sp1 | 7.4.326-7.1 | fixed |
| Suse | vim | linux enterprise server 12 sp2 | 7.4.326-7.1 | fixed |
| Suse | vim | linux enterprise server for sap applications 12 sp2 | 7.4.326-7.1 | fixed |
| Ubuntu | vim | 14.04 | 2:7.4.000-1ubuntu2 | vulnerable |
| Ubuntu | vim | 14.04 | 2:7.4.052-1ubuntu1 | vulnerable |
| Ubuntu | vim | 14.04 | 2:7.4.052-1ubuntu2 | vulnerable |
| Ubuntu | vim | 14.04 | 2:7.4.052-1ubuntu3 | vulnerable |
| Ubuntu | vim | 14.04 | 2:7.4.052-1ubuntu3.1 | fixed |
| Ubuntu | vim | 16.04 | 2:7.4.712-2ubuntu4 | vulnerable |
| Ubuntu | vim | 16.04 | 2:7.4.826-1ubuntu1 | vulnerable |
| Ubuntu | vim | 16.04 | 2:7.4.826-1ubuntu2 | vulnerable |
| Ubuntu | vim | 16.04 | 2:7.4.826-1ubuntu3 | vulnerable |
| Ubuntu | vim | 16.04 | 2:7.4.963-1ubuntu1 | vulnerable |
| Ubuntu | vim | 16.04 | 2:7.4.963-1ubuntu4 | vulnerable |
| Ubuntu | vim | 16.04 | 2:7.4.963-1ubuntu5 | vulnerable |
| Ubuntu | vim | 16.04 | 2:7.4.1689-3ubuntu1 | vulnerable |
| Ubuntu | vim | 16.04 | 2:7.4.1689-3ubuntu1.1 | vulnerable |
| Ubuntu | vim | 16.04 | 2:7.4.1689-3ubuntu1.2 | fixed |
| Suse | vim | linux enterprise server 11 sp4 | 7.2-8.17.1 | fixed |
| Suse | vim | linux enterprise server for sap applications 11 sp4 | 7.2-8.17.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | vim | source | sid | 2:8.0.0095-1 | not yet assigned | Not reported | Not reported |
| Debian | vim | source | forky | 2:8.0.0095-1 | not yet assigned | Not reported | Not reported |
| Debian | vim | source | trixie | 2:8.0.0095-1 | not yet assigned | Not reported | Not reported |
| Debian | vim | source | bookworm | 2:8.0.0095-1 | not yet assigned | Not reported | Not reported |
| Debian | neovim | source | sid | 0.1.6-4 | not yet assigned | Not reported | Not reported |
| Debian | neovim | source | forky | 0.1.6-4 | not yet assigned | Not reported | Not reported |
| Debian | neovim | source | trixie | 0.1.6-4 | not yet assigned | Not reported | Not reported |
| Debian | neovim | source | bookworm | 0.1.6-4 | not yet assigned | Not reported | Not reported |
| Alpine | vim | apk | 3.10 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.11 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.12 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.13 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.14 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.15 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.16 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.17 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.18 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.19 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.2 | 7.4.712-r1 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.20 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.21 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.22 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.23 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.3 | 7.4.943-r4 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.4 | 7.4.1831-r2 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.5 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.6 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.7 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.8 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Alpine | vim | apk | 3.9 | 8.0.0056-r0 | Not reported | ALPINE-CVE-2016-1248 | Not reported |
| Ubuntu | vim | deb | 14.04 | 2:7.4.052-1ubuntu3.1 | Not reported | USN-3139-1 | Not reported |
| Ubuntu | vim | deb | 16.04 | 2:7.4.1689-3ubuntu1.2 | Not reported | USN-3139-1 | Not reported |
| Suse | vim | rpm | linux enterprise desktop 12 sp1 | 7.4.326-7.1 | Not reported | SUSE-SU-2016:2942-1 | Not reported |
| Suse | vim | rpm | linux enterprise desktop 12 sp2 | 7.4.326-7.1 | Not reported | SUSE-SU-2016:2942-1 | Not reported |
| Suse | vim | rpm | linux enterprise server for raspberry pi 12 sp2 | 7.4.326-7.1 | Not reported | SUSE-SU-2016:2942-1 | Not reported |
| Suse | vim | rpm | linux enterprise server 12 sp1 | 7.4.326-7.1 | Not reported | SUSE-SU-2016:2942-1 | Not reported |
| Suse | vim | rpm | linux enterprise server for sap applications 12 sp1 | 7.4.326-7.1 | Not reported | SUSE-SU-2016:2942-1 | Not reported |
| Suse | vim | rpm | linux enterprise server 12 sp2 | 7.4.326-7.1 | Not reported | SUSE-SU-2016:2942-1 | Not reported |
| Suse | vim | rpm | linux enterprise server for sap applications 12 sp2 | 7.4.326-7.1 | Not reported | SUSE-SU-2016:2942-1 | Not reported |
| Ubuntu | vim | deb | 14.04 | 2:7.4.052-1ubuntu3.1 | Not reported | UBUNTU-CVE-2016-1248 | Not reported |
| Ubuntu | vim | deb | 16.04 | 2:7.4.1689-3ubuntu1.2 | Not reported | UBUNTU-CVE-2016-1248 | Not reported |
| Suse | vim | rpm | linux enterprise server 11 sp4 | 7.2-8.17.1 | Not reported | SUSE-SU-2016:2938-1 | Not reported |
| Suse | vim | rpm | linux enterprise server for sap applications 11 sp4 | 7.2-8.17.1 | Not reported | SUSE-SU-2016:2938-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [neovim]Fixed
Details (2)
0.7.2-7· amd64 · bookwormFixed · Fixed:
0.1.6-4dsa · neovim · debian · bookworm; dsa · neovim · debian · 12
0.7.2-7· arm64 · bookwormFixed · Fixed:
0.1.6-4dsa · neovim · debian · bookworm; dsa · neovim · debian · 12
- [neovim-runtime]Fixed
Source package: [neovim]
Details (2)
0.7.2-7· all · bookwormFixed · Fixed:
0.1.6-4dsa · neovim · debian · bookworm; dsa · neovim · debian · 12
0.7.2-7· all · bookwormFixed · Fixed:
0.1.6-4dsa · neovim · debian · bookworm; dsa · neovim · debian · 12
- [vim]Fixed
Details (2)
2:9.0.1378-2+deb12u2· amd64 · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
2:9.0.1378-2+deb12u2· arm64 · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
- [vim-athena]Fixed
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· all · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
2:9.0.1378-2+deb12u2· all · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
- [vim-common]Fixed
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· all · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
2:9.0.1378-2+deb12u2· all · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
- [vim-doc]Fixed
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· all · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
2:9.0.1378-2+deb12u2· all · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
- [vim-gtk3]Fixed
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· amd64 · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
2:9.0.1378-2+deb12u2· arm64 · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
- [vim-gui-common]Fixed
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· all · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
2:9.0.1378-2+deb12u2· all · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
- [vim-motif]Fixed
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· amd64 · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
2:9.0.1378-2+deb12u2· arm64 · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
- [vim-nox]Fixed
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· amd64 · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
2:9.0.1378-2+deb12u2· arm64 · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
- [vim-runtime]Fixed
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· all · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
2:9.0.1378-2+deb12u2· all · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
- [vim-tiny]Fixed
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· amd64 · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
2:9.0.1378-2+deb12u2· arm64 · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
- [xxd]Fixed
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· amd64 · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
2:9.0.1378-2+deb12u2· arm64 · bookwormFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · bookworm; dsa · vim · debian · 12
[Debian 13 (Trixie)]
- [neovim]Fixed
Details (2)
0.10.4-8· amd64 · trixieFixed · Fixed:
0.1.6-4dsa · neovim · debian · 13
0.10.4-8· arm64 · trixieFixed · Fixed:
0.1.6-4dsa · neovim · debian · 13
- [neovim-runtime]Fixed
Source package: [neovim]
Details (2)
0.10.4-8· all · trixieFixed · Fixed:
0.1.6-4dsa · neovim · debian · 13
0.10.4-8· all · trixieFixed · Fixed:
0.1.6-4dsa · neovim · debian · 13
- [vim]Fixed
Details (2)
2:9.1.1230-2· amd64 · trixieFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · 13
2:9.1.1230-2· arm64 · trixieFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · 13
- [vim-athena]Fixed
Source package: [vim]
Details (2)
2:9.1.1230-2· all · trixieFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · 13
2:9.1.1230-2· all · trixieFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · 13
- [vim-common]Fixed
Source package: [vim]
Details (2)
2:9.1.1230-2· all · trixieFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · 13
2:9.1.1230-2· all · trixieFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · 13
- [vim-doc]Fixed
Source package: [vim]
Details (2)
2:9.1.1230-2· all · trixieFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · 13
2:9.1.1230-2· all · trixieFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · 13
- [vim-gtk3]Fixed
Source package: [vim]
Details (2)
2:9.1.1230-2· amd64 · trixieFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · 13
2:9.1.1230-2· arm64 · trixieFixed · Fixed:
2:8.0.0095-1dsa · vim · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2016_2972.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2016-1248]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2016-1248]
- [https://osv.dev/vulnerability/DLA-718-1]
- [https://osv.dev/vulnerability/DSA-3722-1]
- [https://osv.dev/vulnerability/SUSE-SU-2016:2938-1]
- [https://osv.dev/vulnerability/SUSE-SU-2016:2942-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2016-1248]
- [https://osv.dev/vulnerability/USN-3139-1]
- [https://security-tracker.debian.org/tracker/CVE-2016-1248]
- [https://security.access.redhat.com/data/csaf/v2/vex/2016/cve-2016-1248.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]