CVE-2026-25749: Heap Buffer Overflow in Vim helpfile Option Processing
- Vendors
- NeovimVim
CVE-2026-25749 is a heap buffer overflow in Vim versions prior to 9.1.2132. During help-file tag resolution, get_tagfname() uses an unchecked STRCPY() operation to copy the user-controlled 'helpfile' option into a fixed-size heap buffer of MAXPATHL + 1 bytes, typically 4097 bytes. An oversized value can overwrite adjacent heap memory, potentially causing a crash or arbitrary code execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation can cause memory corruption and potentially arbitrary code execution with the privileges of the user running Vim. A successful attack could compromise data and resources accessible to that user. Heap corruption may also terminate Vim, disrupting the editing session.
Mitigation
If you can’t patch tonight, do this now.
No temporary workaround is specified for vulnerable Vim installations. Apply the upstream fix or an applicable vendor security update.
Remediation
Patch, then assume compromise.
Upgrade Vim to version 9.1.2132 or later, or install the distribution's security update containing the backported fix. Vendor-patched packages may retain an older upstream version number; assess their security status against the applicable vendor advisory. Debian stable (trixie) provides a fixed package at version 2:9.1.1230-2+deb13u1.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-25749 exploited in the wild?
- As of Nov 19, 2026, Mallory has no reports of CVE-2026-25749 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-25749?
- Yes. As of Nov 19, 2026, Mallory has reports of a public exploit for CVE-2026-25749.
- Is there a patch for CVE-2026-25749?
- Upgrade Vim to version 9.1.2132 or later, or install the distribution's security update containing the backported fix. Vendor-patched packages may retain an older upstream version number; assess their security status against the applicable vendor advisory.
- What products are affected by CVE-2026-25749?
- Vim and Neovim.
- How severe is CVE-2026-25749?
- CVE-2026-25749 has a CVSS v3.1 score of 6.6 (Medium) and an EPSS score of 0.24% (9th percentile) as of Nov 19, 2026.
Recent activity
32 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.