{"id":"CVE-2026-28421","state":"PUBLISHED","title":"Vim has a heap-buffer-overflow and a segmentation fault","description":"Vim is an open source, command line text editor. Versions prior to 9.2.0077 have a heap-buffer-overflow and a segmentation fault (SEGV) exist in Vim's swap file recovery logic. Both are caused by unvalidated fields read from crafted pointer blocks within a swap file. Version 9.2.0077 fixes the issue.","publishedAt":"2026-02-27T22:06:34.312Z","updatedAt":"2026-05-28T13:27:22.600Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["vim vim"],"affected":[{"vendor":"vim","product":"vim","versions":[{"version":"< 9.2.0077","status":"affected"}]}],"references":["https://github.com/vim/vim/security/advisories/GHSA-r2gw-2x48-jj5p","https://github.com/vim/vim/commit/65c1a143c331c886dc28","https://github.com/vim/vim/releases/tag/v9.2.0077","http://www.openwall.com/lists/oss-security/2026/02/27/10"],"weaknesses":["CWE-20","CWE-122"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/28xxx/CVE-2026-28421.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-28421","state":"PUBLISHED","datePublished":"2026-02-27T22:06:34.312Z","dateUpdated":"2026-05-28T13:27:22.600Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-27T15:54:05.136Z"},"containers":{"cna":{"title":"Vim has a heap-buffer-overflow and a segmentation fault","descriptions":[{"lang":"en","value":"Vim is an open source, command line text editor. Versions prior to 9.2.0077 have a heap-buffer-overflow and a segmentation fault (SEGV) exist in Vim's swap file recovery logic. Both are caused by unvalidated fields read from crafted pointer blocks within a swap file. Version 9.2.0077 fixes the issue."}],"affected":[{"vendor":"vim","product":"vim","versions":[{"version":"< 9.2.0077","status":"affected"}]}],"references":[{"url":"https://github.com/vim/vim/security/advisories/GHSA-r2gw-2x48-jj5p","name":"https://github.com/vim/vim/security/advisories/GHSA-r2gw-2x48-jj5p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vim/vim/commit/65c1a143c331c886dc28","name":"https://github.com/vim/vim/commit/65c1a143c331c886dc28","tags":["x_refsource_MISC"]},{"url":"https://github.com/vim/vim/releases/tag/v9.2.0077","name":"https://github.com/vim/vim/releases/tag/v9.2.0077","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-122","lang":"en","description":"CWE-122: Heap-based Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-02-27T22:06:34.312Z"},"source":{"advisory":"GHSA-r2gw-2x48-jj5p","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/02/27/10"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-02-28T00:15:36.679Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-28T03:55:57.788033Z","id":"CVE-2026-28421","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-28T13:27:22.600Z"}}]}}}