CVE-2026-25749 Details
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.
A heap buffer overflow vulnerability has been identified in Vim's tag file resolution logic, specifically in versions prior to 9.1.2132. The issue arises in the get_tagfname() function within src/tag.c, where user-controlled input from the 'helpfile' option is copied into a fixed-size heap buffer of MAXPATHL + 1 bytes using an unsafe STRCPY() operation, without proper bounds checking. This vulnerability is triggered when the 'helpfile' option is set to a string longer than MAXPATHL, leading to heap memory corruption.
Users can update to Vim version 9.1.2132 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/vim/vim/commit/0714b15940b245108e6e9d7aa2260dd849a26fa9 | [email protected] | Patch |
| https://github.com/vim/vim/releases/tag/v9.1.2132 | [email protected] | Product |
| https://github.com/vim/vim/security/advisories/GHSA-5w93-4g67-mm43 | [email protected] | ExploitPatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| neovim neovim | <= 0.11.6 |
CPE
Remediation
| |
| vim vim | < 9.1.2132 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 9, 2026 | Reanalysis | [email protected] |
| Feb 20, 2026 | Initial Analysis | [email protected] |
| Feb 6, 2026 | New CVE Received | [email protected] |