Bug 2492975 (CVE-2026-55892) - CVE-2026-55892 vim: Vim: Denial of Service via crafted spell file
Summary: CVE-2026-55892 vim: Vim: Denial of Service via crafted spell file
Keywords:
Status: NEW
Alias: CVE-2026-55892
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-25 16:02 UTC by OSIDB Bzimport
Modified: 2026-09-22 13:40 UTC (History)
21 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:66336 0 None None None 2026-09-10 06:31:36 UTC
Red Hat Product Errata RHSA-2026:66348 0 None None None 2026-09-10 08:56:14 UTC
Red Hat Product Errata RHSA-2026:66366 0 None None None 2026-09-10 11:43:04 UTC

Description OSIDB Bzimport 2026-06-25 16:02:17 UTC
Vim is an open source, command line text editor. Prior to 9.2.0662, the dump_prefixes() function in src/spell.c walks a spell-file prefix trie iteratively with a depth counter while dumping the prefixes that apply to a word. The counter is bounded only by the trie structure itself; it is never checked against the size of the fixed MAXWLEN-element stack arrays it indexes (prefix[], arridx[], curi[]). A crafted .spl file, loaded when the user dumps the word list, can drive the descent arbitrarily deep, so the function writes past the end of those arrays. This is a stack out-of-bounds write that corrupts the call frame and crashes the editor. This vulnerability is fixed in 9.2.0662.

Comment 2 errata-xmlrpc 2026-09-10 06:31:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:66336 https://access.redhat.com/errata/RHSA-2026:66336

Comment 3 errata-xmlrpc 2026-09-10 08:56:12 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:66348 https://access.redhat.com/errata/RHSA-2026:66348

Comment 4 errata-xmlrpc 2026-09-10 11:43:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:66366 https://access.redhat.com/errata/RHSA-2026:66366


Note You need to log in before you can comment on or make changes to this bug.