Advisory

UBUNTU-CVE-2026-59857

Also known as: CVE-2026-59857

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Dates

Published
2026-07-10 00:00 UTC
Modified
2026-07-14 23:30 UTC

Affected packages and fixes

vim

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2:8.2.3995-1ubuntu2.34 (ecosystem)

Fixed versions

2:8.2.3995-1ubuntu2.34

Fix

  • Fixed version 2:8.2.3995-1ubuntu2.34
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

vim

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2:9.1.0016-1ubuntu7.18 (ecosystem)

Fixed versions

2:9.1.0016-1ubuntu7.18

Fix

  • Fixed version 2:9.1.0016-1ubuntu7.18
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

vim

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 2:9.1.2141-1ubuntu4.7 (ecosystem)

Fixed versions

2:9.1.2141-1ubuntu4.7

Fix

  • Fixed version 2:9.1.2141-1ubuntu4.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences