CVE-2026-25749: Heap Overflow in Vim

Published Feb 6, 2026
·
Updated

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 gettagfname() 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 Software

3 affected components
vim Vim<9.1.2132
Neovim Neovim<=0.11.6
vim Vim<9.1.2132

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade vim to a version that resolves this vulnerability.

    Fixed in 9.1.2132

Event History

Feb 6, 2026
CVE Published
via MITRE·10:43 PM
Data Sourced
via MITRE·10:43 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 9, 2026
Data Sourced
via Red Hat·11:09 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-25749?

CVE-2026-25749 is rated as a high severity vulnerability due to the potential for a heap buffer overflow.

2

How do I fix CVE-2026-25749?

To fix CVE-2026-25749, upgrade to Vim version 9.1.2132 or later.

3

What software is affected by CVE-2026-25749?

CVE-2026-25749 affects Vim versions prior to 9.1.2132.

4

What is the nature of the vulnerability in CVE-2026-25749?

CVE-2026-25749 is a heap overflow vulnerability that occurs in the tag file resolution logic.

5

Which function is impacted by CVE-2026-25749?

The vulnerability in CVE-2026-25749 is located in the get_tagfname() function in src/tag.c.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203