Advisory

UBUNTU-CVE-2026-43961

Also known as: CVE-2026-43961

Summary

The record has no summary.

Details

A flaw was found in Vim's netrw plugin. A crafted filename containing quote characters and expression fragments can break out of the quoted context during mark/unmark operations, allowing arbitrary Vimscript execution. This can be leveraged to run shell commands with the privileges of the user running Vim.

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-05-20 00:00 UTC
Modified
2026-09-02 19:34 UTC

Affected packages and fixes

vim

Debian packages (deb) · Ubuntu 22.04

Affected

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

Fixed versions

2:8.2.3995-1ubuntu2.31

Fix

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

Fixed versions

2:9.1.0016-1ubuntu7.15

Fix

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

Fixed versions

2:9.1.0967-1ubuntu6.6

Fix

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

vim

Debian packages (deb) · Ubuntu 26.04

Affected

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

Fixed versions

2:9.1.2141-1ubuntu4.3

Fix

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