REDHAT-BUG-2492968: Medium severity vim Vim vulnerability

Published Jun 25, 2026
·
Updated

Vim is an open source, command line text editor. Prior to 9.2.0698, the single-byte branch of spellsoundfoldsofo() in src/spell.c translates a word through a spell file's SOFO (sound-folding) byte map into a caller-owned result buffer. Its copy loop advances the output index ri with no upper bound and terminates only on the input NUL, writing one byte per input byte into the MAXWLEN-element stack buffer the caller provides. A word longer than MAXWLEN, passed to soundfold() (or reached via sound-based spell suggestion) while a SOFO-based spell language is active, therefore writes past the end of that buffer. This is a stack out-of-bounds write that corrupts the call frame and crashes the editor. This vulnerability is fixed in 9.2.0698.

Affected Software

1 affected component
vim Vim<9.2.0698

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade vim to a version that resolves this vulnerability.

    Fixed in 9.2.0698

Event History

Jun 25, 2026
Data Sourced
via Red Hat·04:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2492968?

The severity of REDHAT-BUG-2492968 is medium, rated at 4.

2

What does REDHAT-BUG-2492968 affect?

REDHAT-BUG-2492968 affects the Vim text editor prior to version 9.2.0698.

3

How do I fix REDHAT-BUG-2492968?

To fix REDHAT-BUG-2492968, you should upgrade Vim to version 9.2.0698 or later.

4

What is the vulnerability described in REDHAT-BUG-2492968?

REDHAT-BUG-2492968 pertains to a buffer overflow vulnerability in the spell_soundfold_sofo() function within Vim.

5

Is REDHAT-BUG-2492968 a common vulnerability?

While the specific impact of REDHAT-BUG-2492968 may vary, it's essential for users to address it due to its potential medium risk.

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