{"id":"CVE-2026-25749","state":"PUBLISHED","title":"Heap Overflow in Vim","description":"Vim is an open source, command line text editor. Prior to version 9.1.2132, a heap buffer overflow vulnerability exists in Vim's tag file resolution logic when processing the 'helpfile' option. The vulnerability is located in the get_tagfname() function in src/tag.c. When processing help file tags, Vim copies the user-controlled 'helpfile' option value into a fixed-size heap buffer of MAXPATHL + 1 bytes (typically 4097 bytes) using an unsafe STRCPY() operation without any bounds checking. This issue has been patched in version 9.1.2132.","publishedAt":"2026-02-06T22:43:38.630Z","updatedAt":"2026-02-09T15:26:17.789Z","severity":{"score":6.6,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["vim vim"],"affected":[{"vendor":"vim","product":"vim","versions":[{"version":"< 9.1.2132","status":"affected"}]}],"references":["https://github.com/vim/vim/security/advisories/GHSA-5w93-4g67-mm43","https://github.com/vim/vim/commit/0714b15940b245108e6e9d7aa2260dd849a26fa9","https://github.com/vim/vim/releases/tag/v9.1.2132"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/25xxx/CVE-2026-25749.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-25749","state":"PUBLISHED","datePublished":"2026-02-06T22:43:38.630Z","dateUpdated":"2026-02-09T15:26:17.789Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-05T18:35:52.356Z"},"containers":{"cna":{"title":"Heap Overflow in Vim","descriptions":[{"lang":"en","value":"Vim is an open source, command line text editor. Prior to version 9.1.2132, a heap buffer overflow vulnerability exists in Vim's tag file resolution logic when processing the 'helpfile' option. The vulnerability is located in the get_tagfname() function in src/tag.c. When processing help file tags, Vim copies the user-controlled 'helpfile' option value into a fixed-size heap buffer of MAXPATHL + 1 bytes (typically 4097 bytes) using an unsafe STRCPY() operation without any bounds checking. This issue has been patched in version 9.1.2132."}],"affected":[{"vendor":"vim","product":"vim","versions":[{"version":"< 9.1.2132","status":"affected"}]}],"references":[{"url":"https://github.com/vim/vim/security/advisories/GHSA-5w93-4g67-mm43","name":"https://github.com/vim/vim/security/advisories/GHSA-5w93-4g67-mm43","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vim/vim/commit/0714b15940b245108e6e9d7aa2260dd849a26fa9","name":"https://github.com/vim/vim/commit/0714b15940b245108e6e9d7aa2260dd849a26fa9","tags":["x_refsource_MISC"]},{"url":"https://github.com/vim/vim/releases/tag/v9.1.2132","name":"https://github.com/vim/vim/releases/tag/v9.1.2132","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.6,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H","version":"3.1"}}],"problemTypes":[{"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-06T22:43:38.630Z"},"source":{"advisory":"GHSA-5w93-4g67-mm43","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-09T15:19:14.443777Z","id":"CVE-2026-25749","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-09T15:26:17.789Z"}}]}}}