Live threats

All CVEs / Vim

CVE-2017-17087Vim

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
0.4%
probability of exploitation in 30 days · percentile 31
Auth required
Yes
Published
Dec 1, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-668
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What happens

fileio.c in Vim prior to 8.0.1263 sets the group ownership of a .swp file to the editor's primary group (which may be different from the group ownership of the original file), which allows local users to obtain sensitive information by leveraging an applicable group membership, as demonstrated by /etc/shadow owned by root:shadow mode 0640, but /etc/.shadow.swp owned by root:users mode 0640, a different vulnerability than CVE-2017-1000382.

Original NVD text.

What to do

  1. Apply the vendor's security update for Vim.

Affected products (CPE)

VendorProductVersions
vimvim< 8.0.1263
debiandebian_linux8.0
debiandebian_linux9.0
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04

Official sources

References

Links published by the sources. Open them with care.