# CVE-2017-5953

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2017-02-10 · Modified: 2024-08-05
- Aliases: ALPINE-CVE-2017-5953, SUSE-SU-2017:1775-1, UBUNTU-CVE-2017-5953, DEBIAN-CVE-2017-5953, DLA-822-1, DSA-3786-1
- Record: https://cvemate.com/vulnerability/CVE-2017-5953 · JSON: https://cvemate.com/vulnerability/CVE-2017-5953/json

## Description

```text
vim before patch 8.0.0322 does not properly validate values for tree length when handling a spell file, which may result in an integer overflow at a memory allocation site and a resultant buffer overflow.
```

## Signals

- CVSS: 9.8 critical (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.834%, percentile 87.084%, 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

- alpine neovim (Alpine Linux): \< 0.2.0-r0
- alpine vim (Alpine Linux): \< 8.0.0329-r0 \| \< 7.4.712-r2 \| \< 7.4.943-r5 \| \< 7.4.1831-r3
- debian neovim (Debian): \< 0.1.7-4
- debian vim (Debian): \< 2:8.0.0197-2 \| \< 2:7.3.547-7+deb7u2 \| \< 2:7.4.488-7+deb8u2
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm1 \| \< 2:7.4.1689-3ubuntu1.3
- suse vim&distro=SUSE Linux Enterprise Server 11 SP4 (SUSE Linux Enterprise): \< 7.2-8.20.8
- suse vim&distro=SUSE Linux Enterprise Server for SAP Applications 11 SP4 (SUSE Linux Enterprise): \< 7.2-8.20.8
- vim vim: ≤ 8.0.0055

## References

- <https://security.gentoo.org/glsa/201706-26>
- <http://www.securityfocus.com/bid/96217>
- <http://www.debian.org/security/2017/dsa-3786>
- <https://github.com/vim/vim/commit/399c297aa93afe2c0a39e2a1b3f972aebba44c9d>
- <https://groups.google.com/forum/#%21topic/vim_dev/t-3RSdEnrHY>
- <https://usn.ubuntu.com/4016-1/>
- <https://usn.ubuntu.com/4309-1/>
- <https://security.alpinelinux.org/vuln/CVE-2017-5953>
- <https://www.suse.com/support/update/announcement/2017/suse-su-20171775-1/>
- <https://bugzilla.suse.com/1024724>
- <https://www.suse.com/security/cve/CVE-2017-5953>
- <https://ubuntu.com/security/CVE-2017-5953>
- <https://groups.google.com/forum/#!topic/vim_dev/t-3RSdEnrHY>
- <https://ubuntu.com/security/notices/USN-4016-1>
- <https://ubuntu.com/security/notices/USN-4309-1>
- <https://www.cve.org/CVERecord?id=CVE-2017-5953>
- <https://security-tracker.debian.org/tracker/CVE-2017-5953>

---

Data as of 2026-12-05T04:27:27.936Z. 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
