# CVE-2017-17087

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2017-12-01 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2017-17087, DEBIAN-CVE-2017-17087
- Record: https://cvemate.com/vulnerability/CVE-2017-17087 · JSON: https://cvemate.com/vulnerability/CVE-2017-17087/json

## Description

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

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.355%, percentile 31.233%, 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

- canonical ubuntu\_linux: 16.04 \| 18.04
- debian vim (Debian): \< 2:8.0.1401-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm4 \| \< 2:7.4.1689-3ubuntu1.5
- debian debian\_linux: 8.0 \| 9.0
- vim vim: \< 8.0.1263

## References

- <https://groups.google.com/d/msg/vim_dev/sRT9BtjLWMk/BRtSXNU4BwAJ>
- <http://openwall.com/lists/oss-security/2017/11/27/2>
- <http://security.cucumberlinux.com/security/details.php?id=166>
- <https://github.com/vim/vim/commit/5a73e0ca54c77e067c3b12ea6f35e3e8681e8cf8>
- <https://lists.debian.org/debian-lts-announce/2019/08/msg00003.html>
- <https://usn.ubuntu.com/4582-1/>
- <https://lists.debian.org/debian-lts-announce/2022/01/msg00003.html>
- <https://ubuntu.com/security/CVE-2017-17087>
- <https://ubuntu.com/security/notices/USN-4582-1>
- <https://ubuntu.com/security/notices/USN-5147-1>
- <https://www.cve.org/CVERecord?id=CVE-2017-17087>
- <https://security-tracker.debian.org/tracker/CVE-2017-17087>

---

Data as of 2026-12-05T03:31:17.875Z. 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
