{"api_version":"1","generated_at":"2026-04-23T01:30:55+00:00","cve":"CVE-2017-5953","urls":{"html":"https://cve.report/CVE-2017-5953","api":"https://cve.report/api/cve/CVE-2017-5953.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-5953","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-5953"},"summary":{"title":"CVE-2017-5953","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2017-02-10 07:59:00","updated_at":"2023-11-07 02:49:00"},"problem_types":["CWE-190"],"metrics":[],"references":[{"url":"https://usn.ubuntu.com/4016-1/","name":"USN-4016-1","refsource":"UBUNTU","tags":[],"title":"USN-4016-1: Vim vulnerabilities | Ubuntu security notices","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://usn.ubuntu.com/4309-1/","name":"USN-4309-1","refsource":"UBUNTU","tags":[],"title":"USN-4309-1: Vim vulnerabilities | Ubuntu security notices","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/96217","name":"96217","refsource":"BID","tags":[],"title":"Vim CVE-2017-5953 Local Integer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://github.com/vim/vim/commit/399c297aa93afe2c0a39e2a1b3f972aebba44c9d","name":"https://github.com/vim/vim/commit/399c297aa93afe2c0a39e2a1b3f972aebba44c9d","refsource":"CONFIRM","tags":["Patch","Vendor Advisory"],"title":"patch 8.0.0322: possible overflow with corrupted spell file · vim/vim@399c297 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://groups.google.com/forum/#!topic/vim_dev/t-3RSdEnrHY","name":"https://groups.google.com/forum/#!topic/vim_dev/t-3RSdEnrHY","refsource":"CONFIRM","tags":[],"title":"Google Groups","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://groups.google.com/forum/#%21topic/vim_dev/t-3RSdEnrHY","name":"https://groups.google.com/forum/#%21topic/vim_dev/t-3RSdEnrHY","refsource":"","tags":[],"title":"Google Groups","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2017/dsa-3786","name":"DSA-3786","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-3786-1 vim","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201706-26","name":"GLSA-201706-26","refsource":"GENTOO","tags":[],"title":"Vim, gVim: Remote execution of arbitrary code (GLSA 201706-26) — Gentoo Security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5953","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5953","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"5953","vulnerable":"1","versionEndIncluding":"8.0.0055","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vim","cpe5":"vim","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2017-5953","qid":"500722","title":"Alpine Linux Security Update for vim"},{"cve":"CVE-2017-5953","qid":"501091","title":"Alpine Linux Security Update for neovim"},{"cve":"CVE-2017-5953","qid":"504496","title":"Alpine Linux Security Update for vim"},{"cve":"CVE-2017-5953","qid":"505084","title":"Alpine Linux Security Update for neovim"},{"cve":"CVE-2017-5953","qid":"710323","title":"Gentoo Linux Vim, gVim Remote execution of arbitrary code Vulnerability (GLSA 201706-26)"},{"cve":"CVE-2017-5953","qid":"753066","title":"SUSE Enterprise Linux Security Update for vim (SUSE-SU-2022:4619-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-5953","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"GLSA-201706-26","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201706-26"},{"name":"96217","refsource":"BID","url":"http://www.securityfocus.com/bid/96217"},{"name":"DSA-3786","refsource":"DEBIAN","url":"http://www.debian.org/security/2017/dsa-3786"},{"name":"https://github.com/vim/vim/commit/399c297aa93afe2c0a39e2a1b3f972aebba44c9d","refsource":"CONFIRM","url":"https://github.com/vim/vim/commit/399c297aa93afe2c0a39e2a1b3f972aebba44c9d"},{"name":"https://groups.google.com/forum/#!topic/vim_dev/t-3RSdEnrHY","refsource":"CONFIRM","url":"https://groups.google.com/forum/#!topic/vim_dev/t-3RSdEnrHY"},{"refsource":"UBUNTU","name":"USN-4016-1","url":"https://usn.ubuntu.com/4016-1/"},{"refsource":"UBUNTU","name":"USN-4309-1","url":"https://usn.ubuntu.com/4309-1/"}]}},"nvd":{"publishedDate":"2017-02-10 07:59:00","lastModifiedDate":"2023-11-07 02:49:00","problem_types":["CWE-190"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":true,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*","versionEndIncluding":"8.0.0055","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"5953","Ordinal":"102569","Title":"CVE-2017-5953","CVE":"CVE-2017-5953","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"5953","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2017","CveId":"5953","Ordinal":"2","NoteData":"2017-02-10","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"5953","Ordinal":"3","NoteData":"2020-03-30","Type":"Other","Title":"Modified"}]}}}