REDHAT-BUG-2437843: Buffer Overflow

Published Feb 9, 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

1 affected component
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 9, 2026
Data Sourced
via Red Hat·11:09 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2437843?

The severity of REDHAT-BUG-2437843 is classified as a heap buffer overflow vulnerability.

2

How do I fix REDHAT-BUG-2437843?

To fix REDHAT-BUG-2437843, upgrade Vim to version 9.1.2132 or later.

3

What versions of Vim are affected by REDHAT-BUG-2437843?

Vim versions prior to 9.1.2132 are affected by REDHAT-BUG-2437843.

4

What specific function in Vim is vulnerable in REDHAT-BUG-2437843?

The vulnerable function in Vim is get_tagfname() located in src/tag.c.

5

What type of vulnerability is REDHAT-BUG-2437843?

REDHAT-BUG-2437843 is a heap buffer overflow vulnerability.

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