Bug 2499636 - CVE-2026-59857 vim: Vim: Denial of Service via out-of-bounds write in spell sound-folding [fedora-all]
Summary: CVE-2026-59857 vim: Vim: Denial of Service via out-of-bounds write in spell s...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["ab9afa35-a90a-46a9-bfa7-3...
Depends On:
Blocks: CVE-2026-59857
TreeView+ depends on / blocked
 
Reported: 2026-07-13 10:21 UTC by Srikanth Balasubramanian
Modified: 2026-07-13 11:42 UTC (History)
3 users (show)

Fixed In Version: vim-9.2.780-1.fc43, vim-9.2.780-1.fc44, vim-9.2.780-1.fc45
Clone Of:
Environment:
Last Closed: 2026-07-13 11:42:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-07-13 10:21:50 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Vim is an open source, command line text editor. Prior to 9.2.0725, the single-byte branch of spell_soundfold_sal() in src/spell.c translates a word through a spell file's SAL sound-folding rules into a caller-owned result buffer, but its result writes are guarded with reslen < MAXWLEN, allowing reslen to reach MAXWLEN before res[reslen] = NUL writes one byte past the end of the MAXWLEN-element stack buffer. A boundary-length word passed to soundfold(), or reached via sound-based spell suggestion while a SAL-based spell language is active under a non-multibyte 8-bit encoding, can corrupt the eval_soundfold() stack frame and crash the editor. This issue is fixed in version 9.2.0725.


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