Advisory

UBUNTU-CVE-2026-45130

Also known as: CVE-2026-45130

Summary

The record has no summary.

Details

Vim is an open source, command line text editor. Prior to version 9.2.0450, a heap buffer overflow exists in read_compound() in src/spellfile.c when loading a crafted spell file (.spl) with UTF-8 encoding active. An attacker-controlled length field in the spell file's compound section overflows a 32-bit signed integer multiplication, causing a small buffer to be allocated for a write loop that runs many iterations, overflowing the heap. Because the 'spelllang' option can be set from a modeline, a text file modeline can trigger spell file loading if a malicious .spl file has been planted on the runtimepath. This issue has been patched in version 9.2.0450.

Severity

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

Dates

Published
2026-05-08 23:16 UTC
Modified
2026-05-26 07:30 UTC

Affected packages and fixes

vim

Debian packages (deb) · Ubuntu 22.04

Affected

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

Fixed versions

2:8.2.3995-1ubuntu2.30

Fix

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

Fixed versions

2:9.1.0016-1ubuntu7.14

Fix

  • Fixed version 2:9.1.0016-1ubuntu7.14
    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.5 (ecosystem)

Fixed versions

2:9.1.0967-1ubuntu6.5

Fix

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

Fixed versions

2:9.1.2141-1ubuntu4.2

Fix

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