{"cve":{"cve_id":"CVE-2026-55693","is_kev":false,"kev_date_added":null,"kev_vendor_project":null,"kev_product":null,"kev_vulnerability_name":null,"kev_short_description":null,"kev_required_action":null,"kev_due_date":null,"kev_known_ransomware":null,"kev_notes":null,"kev_cwes":null,"epss_score":null,"epss_percentile":null,"epss_as_of":null,"description":"Vim is an open source, command line text editor. Prior to 9.2.0653, the tree_count_words() function in src/spellfile.c fills in the word-count fields of a spell-file word trie by walking it iteratively with a depth counter. The counter is bounded only by the trie structure itself; it is never checked against the size of the fixed MAXWLEN-element stack arrays it indexes (arridx[], curi[], wordcount[]). A crafted .spl/.sug file pair, loaded when the user invokes spell suggestion, can drive the descent arbitrarily deep, so the function writes past the end of those arrays. This is a stack out-of-bounds write that corrupts the call frame and crashes the editor. This vulnerability is fixed in 9.2.0653.","published_at":"2026-06-25T15:34:33.424000Z","last_modified_at":null,"cvss_v3_score":null,"cvss_v3_vector":null,"cvss_v3_severity":null,"cvss_v4_score":5.7,"cvss_v4_vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","cvss_v4_severity":"MEDIUM","ssvc_decision":null,"ssvc_exploitation":null,"ssvc_automatable":null,"ssvc_technical_impact":null,"cwes":["CWE-787"],"nvd_references":["https://github.com/vim/vim/security/advisories/GHSA-wgh4-64f7-q3jq","https://github.com/vim/vim/commit/a80874d9b84a01040e3d1aef2d4a59e1934dafb7","https://github.com/vim/vim/releases/tag/v9.2.0653"],"vuln_status":null,"trending_score":null,"is_trending":false,"has_trended":false,"trended_number_one":false,"trending_peak_score":null,"trending_peak_rank":null,"started_trending_at":null,"trended_number_one_at":null,"summary_generated":null,"summary_generated_at":null,"summary_model":null,"created_at":"2026-06-28T17:55:37.240342Z","updated_at":"2026-06-28T23:30:55.940411Z"},"effective_severity":"MEDIUM","badges":[],"impact_analysis":[],"cvss_v3_decoded":{"version":null,"metrics":[]},"cvss_v4_decoded":{"version":"4.0","metrics":[{"metric":"AV","name":"Attack Vector","value":"L","value_label":"Local"},{"metric":"AC","name":"Attack Complexity","value":"L","value_label":"Low"},{"metric":"AT","name":"Attack Requirements","value":"N","value_label":"None"},{"metric":"PR","name":"Privileges Required","value":"N","value_label":"None"},{"metric":"UI","name":"User Interaction","value":"A","value_label":"Active"},{"metric":"VC","name":"Confidentiality (Vulnerable System)","value":"H","value_label":"High"},{"metric":"VI","name":"Integrity (Vulnerable System)","value":"H","value_label":"High"},{"metric":"VA","name":"Availability (Vulnerable System)","value":"H","value_label":"High"},{"metric":"SC","name":"Confidentiality (Subsequent System)","value":"N","value_label":"None"},{"metric":"SI","name":"Integrity (Subsequent System)","value":"N","value_label":"None"},{"metric":"SA","name":"Availability (Subsequent System)","value":"N","value_label":"None"},{"metric":"E","name":"E","value":"U","value_label":"Unchanged"}]},"affected":[{"vendor_slug":"vim","vendor_name":"vim","product_slug":"vim","product_name":"vim","version_start":"< 9.2.0653","version_start_inclusive":true,"version_end":"< 9.2.0653","version_end_inclusive":true,"cpe23_uri":"cve5:vim:vim:< 9.2.0653:< 9.2.0653"}],"exploit_refs":[],"news":[],"references":[{"url":"https://github.com/vim/vim/security/advisories/GHSA-wgh4-64f7-q3jq","source_type":"VENDOR_ADVISORY","tags":["advisory"]},{"url":"https://github.com/vim/vim/commit/a80874d9b84a01040e3d1aef2d4a59e1934dafb7","source_type":"PATCH","tags":["patch"]},{"url":"https://github.com/vim/vim/releases/tag/v9.2.0653","source_type":"PATCH","tags":["patch"]}],"timeline":[{"type":"published","at":"2026-06-25T15:34:33.424000Z","label":"CVE published","source":null}]}