Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
cybernieuws.nl Cybersecurity en informatiebeveiling nieuws alerts live · 12 min 166 bronnen 1 kritiek 34 vandaag
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-57455

HIGH · 7.8 CVSS Gepubliceerd: CWE-787

Beschrijving NL

Vim is een open source teksteditor op de opdrachtregel. Voorafgaand aan 9.2.0698 vertaalt de single-byte tak van spell_soundfold_sofo() in src/spell.c een woord via de SOFO (sound-folding) byte map van een spellbestand in een resultaatbuffer van de beller. De kopieerlus bevordert de uitvoerindex ri zonder bovengrens en eindigt alleen op de invoer nul, waarbij één byte per invoerbyte wordt geschreven in de MAXWLEN-element-stapelbuffer die de aanroeper levert. Een woord langer dan MAXWLEN, doorgegeven aan soundfold() (of bereikt via op geluid gebaseerde spellingsuggestie) terwijl een op SOFO gebaseerde speltaal actief is, schrijft daarom voorbij het einde van die buffer. Dit is een stack out-of-bounds schrijven dat het gespreksframe corrumpeert en de editor crasht. Deze kwetsbaarheid is opgelost in 9.2.0698.

Origineel (Engels) tonen

Vim is an open source, command line text editor. Prior to 9.2.0698, the single-byte branch of spell_soundfold_sofo() 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.

Vendors

Vim

Affected products

Vim

References