Advisory

USN-8451-1

Also known as: CVE-2026-47162, CVE-2026-47167, CVE-2026-52858, CVE-2026-52859, CVE-2026-52860

Summary

vim vulnerabilities

Details

Srinivas Piskala Ganesh Babu discovered that Vim incorrectly handled
directory names when serializing browsed paths to the netrw history file.
An attacker could possibly use this issue to execute arbitrary code.
(CVE-2026-47162)

It was discovered that Vim incorrectly handled step-definition patterns in
the cucumber filetype plugin. An attacker could possibly use this issue to
execute arbitrary code. (CVE-2026-47167)

It was discovered that Vim incorrectly handled import statements during
Python omni-completion. An attacker could possibly use this issue to
execute arbitrary code. (CVE-2026-52858)

Andrej Tomči discovered that Vim incorrectly handled certain terminal
screen cells when taking a snapshot, leading to an out-of-bounds read. An
attacker could possibly use this issue to cause Vim to crash, resulting in
a denial of service. (CVE-2026-52859)

David Carliez discovered that Vim incorrectly handled reconstructed
function and class definitions during Python omni-completion. An attacker
could possibly use this issue to execute arbitrary code. (CVE-2026-52860)

Severity

Not rated by the source.

Dates

Published
2026-06-18 16:05 UTC
Modified
2026-06-30 18:17 UTC

Affected packages and fixes

vim

Debian packages (deb) · Ubuntu 22.04

Affected

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

Fixed versions

2:8.2.3995-1ubuntu2.32

Fix

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

Fixed versions

2:9.1.0016-1ubuntu7.16

Fix

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

Fixed versions

2:9.1.0967-1ubuntu6.7

Fix

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

vim

Debian packages (deb) · Ubuntu 26.04

Affected

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

Fixed versions

2:9.1.2141-1ubuntu4.5

Fix

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

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