CVE-2017-5953: vim Integer Overflow or Wraparound
Vulnerability summary
CVE-2017-5953 is a critical (CVSS 9.8) Integer Overflow or Wraparound vulnerability in vim. EPSS estimates a 2.83% chance of exploitation in the next 30 days, higher than 87% of scored vulnerabilities.
Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 7 · Related 6Timeline
- 10-02-2017PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.83%
Chance of exploitation in the next 30 days
Percentile
87%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.83% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine2 products
- neovim< 0.2.0-r0
- vim< 8.0.0329-r0 | < 7.4.712-r2 | < 7.4.943-r5 | < 7.4.1831-r3
Debian2 products
- neovim< 0.1.7-4
- vim< 2:8.0.0197-2 | < 2:7.3.547-7+deb7u2 | < 2:7.4.488-7+deb8u2
Suse2 products
- vim&distro=SUSE Linux Enterprise Server 11 SP4< 7.2-8.20.8
- vim&distro=SUSE Linux Enterprise Server for SAP Applications 11 SP4< 7.2-8.20.8
Ubuntu1 product
- vim< 2:7.4.052-1ubuntu3.1+esm1 | < 2:7.4.1689-3ubuntu1.3
Vim1 product
- vim≤ 8.0.0055
5 vendors · 8 products
References
17 links- github.com/vim/vim/commit/399c297aa93afe2c0a39e2a1b3f972aebba44c9dX Refsource CONFIRMPatchVendor Advisory
- groups.google.com/forum/X Refsource CONFIRM
Show all 17 references
- groups.google.com/forum/REPORT