Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2017-5953: 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…

CriticalCVSS 9.8 · v3.0—No exploit Fix available

Noroxi assessment

Priority: Plan (action score 40/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 2.8% (FIRST EPSS); higher than 86.8% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: neovim (Alpine:v3.10) 0.2.0-r0; vim (Alpine:v3.10) 8.0.0329-r0; vim (Alpine:v3.2) 7.4.712-r2.

Add it to your regular patch cycle. Upgrade to neovim (Alpine:v3.10) 0.2.0-r0; vim (Alpine:v3.10) 8.0.0329-r0; vim (Alpine:v3.2) 7.4.712-r2 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

Published
Feb 10, 2017
Updated
Jun 16, 2026
EPSS
2.8% · 86th percentile

Report tools

JSON

Action score

40

Plan

Add it to your regular patch cycle.

CVSS
39 / 40 · 9.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 2.8%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2017-5953

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
vimvim

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • vim vimup to 8.0.0055 inclusive

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10neovimbefore 0.2.0-r00.2.0-r0
Alpine:v3.10vimbefore 8.0.0329-r08.0.0329-r0
Alpine:v3.2vimbefore 7.4.712-r27.4.712-r2
Alpine:v3.3vimbefore 7.4.943-r57.4.943-r5
Alpine:v3.4vimbefore 7.4.1831-r37.4.1831-r3
Debian:12neovimbefore 0.1.7-40.1.7-4
Debian:12vimbefore 2:8.0.0197-22:8.0.0197-2
Debian:7vimbefore 2:7.3.547-7+deb7u22:7.3.547-7+deb7u2
Debian:8vimbefore 2:7.4.488-7+deb8u22:7.4.488-7+deb8u2
openSUSE:Tumbleweedneovimbefore 0.5.1-1.10.5.1-1.1
openSUSE:Tumbleweedvimbefore 8.2.3408-1.28.2.3408-1.2
SUSE:Linux Enterprise Desktop 12 SP2vimbefore 7.4.326-16.17.4.326-16.1
SUSE:Linux Enterprise Server 11 SP4vimbefore 7.2-8.20.87.2-8.20.8
SUSE:OpenStack Cloud 9vimbefore 9.0.0814-17.9.19.0.0814-17.9.1

Same product

vim: all records

Other highest-scoring records for the same primary product.

  • CVE-2008-2712Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not…
    42Plan
  • CVE-2022-0318Heap-based Buffer Overflow in vim/vim
    40Plan
  • CVE-2019-12735getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via the :source! command…
    40Plan

Published before and after this one in the same product

  • ← EarlierCVE-2008-6235Feb 21, 2009 · The Netrw plugin (netrw.vim) in Vim 7.0 and 7.1 allows user-assisted attackers to execute arbitrary commands via shell metacharacters in a…
    38Monitor
  • ← EarlierCVE-2016-1248Nov 23, 2016 · vim before patch 8.0.0056 does not properly validate values for the 'filetype', 'syntax' and 'keymap' options, which may result in the…
    39Monitor
  • Later →CVE-2017-6349Feb 27, 2017 · An integer overflow at a u_read_undo memory allocation site would occur for vim before patch 8.0.0377, if it does not properly validate…
    40Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:neovim0.2.0-r0 · Alpine:v3.10Package registry (OSV)
alpine:vim8.0.0329-r0 · Alpine:v3.10Package registry (OSV)
debian:neovim0.1.7-4 · Debian:12Package registry (OSV)
debian:vim2:8.0.0197-2 · Debian:12Package registry (OSV)
opensuse:neovim0.5.1-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:vim8.2.3408-1.2 · openSUSE:TumbleweedPackage registry (OSV)
suse:vim7.4.326-16.1 · SUSE:Linux Enterprise Desktop 12 SP2Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

References

All records