Advisory

UBUNTU-CVE-2026-55693

Also known as: CVE-2026-55693

Summary

The record has no summary.

Details

Vim is an open source, command line text editor. Prior to 9.2.0653, the tree_count_words() function in src/spellfile.c fills in the word-count fields of a spell-file word trie by walking it iteratively with a depth counter. 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 (arridx[], curi[], wordcount[]). A crafted .spl/.sug file pair, loaded when the user invokes spell suggestion, 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.0653.

Severity

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

Dates

Published
2026-06-25 16:16 UTC
Modified
2026-07-02 22:49 UTC

Affected packages and fixes

vim

Debian packages (deb) · Ubuntu 22.04

Affected

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

Fixed versions

2:8.2.3995-1ubuntu2.33

Fix

  • Fixed version 2:8.2.3995-1ubuntu2.33
    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.17 (ecosystem)

Fixed versions

2:9.1.0016-1ubuntu7.17

Fix

  • Fixed version 2:9.1.0016-1ubuntu7.17
    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 25.10

Affected

  • introduced 0, fixed 2:9.1.0967-1ubuntu6.8 (ecosystem)

Fixed versions

2:9.1.0967-1ubuntu6.8

Fix

  • Fixed version 2:9.1.0967-1ubuntu6.8
    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.6 (ecosystem)

Fixed versions

2:9.1.2141-1ubuntu4.6

Fix

  • Fixed version 2:9.1.2141-1ubuntu4.6
    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