CVE-2017-5953: vim Integer Overflow or Wraparound
CVSS: 9.8v3.0CriticalModified
AliasesALPINE-CVE-2017-5953SUSE-SU-2017:1775-1UBUNTU-CVE-2017-5953DEBIAN-CVE-2017-5953DLA-822-1DSA-3786-1
Published 10-02-2017Last modified 05-08-2024
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 86.4% of scored vulnerabilities.
CVSS score
9.8/10
010
Critical · v3.0 (NVD)EPSS score
2.83%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
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 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 4 agree
- 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
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
2.83%
Chance of exploitation in the next 30 days
Percentile
86%
Versus all other CVEs
30-day change
0.00 pp
From 2.83% on 19-09-2026
19-09-202619-10-2026
EPSS score2.83%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian2 products
- neovim< 0.1.7-4
- vim< 2:8.0.0197-2 | < 2:7.4.488-7+deb8u2 | < 2:7.3.547-7+deb7u2
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
Alpine1 product
- vim< 8.0.0329-r0 | < 7.4.712-r2 | < 7.4.943-r5 | < 7.4.1831-r3
Ubuntu1 product
- vim< 2:7.4.052-1ubuntu3.1+esm1 | < 2:7.4.1689-3ubuntu1.3
Vim1 product
- vim≤ 8.0.0055
5 vendors · 7 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