p PatchFirst

CVE-2026-43961

CVE-2026-43961 · Vim: vimscript injection via unescaped filename in netrw s:netrwmarkfile() filter() expression allows arbitrary code execution

CVSS 7.8 · High · EPSS 0.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

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.

Published
Updated

Fixes in distributions

  • RLSA-2026:100487 · Rocky Linux 9 ·
  • ALSA-2026:100487 · AlmaLinux 9 ·
  • RHSA-2026:99165 · Red Hat enterprise linux eus 10.2 ·
  • RHSA-2026:99166 · Red Hat rhel eus 9.8 appstream, Red Hat rhel eus 9.8 baseos ·
  • RHSA-2026:98119 · Red Hat Enterprise Linux 8 appstream, Red Hat Enterprise Linux 8 baseos ·
  • RLSA-2026:98119 · Rocky Linux 8 ·
  • ALSA-2026:98119 · AlmaLinux 8 ·
  • DSA-6600-1 · Debian 13 ·
  • RHSA-2026:57614 · Red Hat hummingbird 1 ·
  • openSUSE-SU-2026:11114-1 · openSUSE Tumbleweed ·
  • USN-8415-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 25.10, Ubuntu 26.04 LTS, Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS ·
  • SUSE-SU-2026:2313-1 · SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise Micro 5.3, SUSE Linux Enterprise Micro 5.4, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4 ·
  • SUSE-SU-2026:21833-1 · SUSE Linux Micro Extras 6.2 ·

Stack: system

Affected products and versions

  • vim

    Versions
    • ≥ 0, < 9.2.0480: Affected (semver)

    Update to 9.2.0480

  • red hat enterprise linux 10

    Versions
    • ≥ 2:9.1.083-26.el10_3: Not affected (rpm)

    No fix published

  • red hat enterprise linux 10.2 extended update support

    Versions
    • ≥ 2:9.1.083-26.el10_2: Not affected (rpm)

    No fix published

  • red hat enterprise linux 8

    Versions
    • ≥ 2:8.0.1763-34.el8_10: Not affected (rpm)

    No fix published

  • red hat enterprise linux 9

    Versions
    • ≥ 2:8.2.2637-44.el9_9: Not affected (rpm)

    No fix published

  • red hat enterprise linux 9.8 extended update support

    Versions
    • ≥ 2:8.2.2637-44.el9_8: Not affected (rpm)

    No fix published

  • red hat hardened images

    Versions
    • ≥ 9.2.967-1.1.hum1: Not affected (rpm)

    No fix published

  • red hat enterprise linux 6

    No fix published

  • red hat enterprise linux 7

    No fix published

  • red hat openshift ai (rhoai)

    No fix published

  • red hat openshift container platform 4

    No fix published

  • red hat openshift container platform 5

    No fix published

  • vim Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 9.2.0481-r0

    Update to 9.2.0481-r0

  • vim Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 9.2.0481-r0

    Update to 9.2.0481-r0

  • vim Debian 12

    Versions
    • 2:9.0.1378-2
    • 2:9.0.1378-2+deb12u1
    • 2:9.0.1378-2+deb12u2
    • 2:9.0.1658-1
    • 2:9.0.1672-1
    • 2:9.0.1894-1
    All versions (45)
    • 2:9.0.2018-1
    • 2:9.0.2087-1
    • 2:9.0.2103-1
    • 2:9.0.2116-1
    • 2:9.0.2189-1
    • 2:9.1.0-1
    • 2:9.1.0016-1
    • 2:9.1.0199-1
    • 2:9.1.0374-1
    • 2:9.1.0377-1
    • 2:9.1.0496-1
    • 2:9.1.0698-1
    • 2:9.1.0709-1
    • 2:9.1.0709-2
    • 2:9.1.0777-1
    • 2:9.1.0861-1
    • 2:9.1.0967-1
    • 2:9.1.0967-2
    • 2:9.1.1113-1
    • 2:9.1.1230-1
    • 2:9.1.1230-2
    • 2:9.1.1385-1
    • 2:9.1.1766-1
    • 2:9.1.1829-1
    • 2:9.1.1846-1
    • 2:9.1.1882-1
    • 2:9.1.2103-1
    • 2:9.1.2141-1
    • 2:9.2.0119-1
    • 2:9.2.0136-1
    • 2:9.2.0218-1
    • 2:9.2.0315-1
    • 2:9.2.0338-1
    • 2:9.2.0355-1
    • 2:9.2.0428-1
    • 2:9.2.0461-1
    • 2:9.2.0524-1
    • 2:9.2.0782-1
    • 2:9.2.0858-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • vim Debian 13

    Versions
    • 2:9.1.1230-2
    Affected ranges
    • ECOSYSTEM: < 2:9.1.1230-2+deb13u1

    Update to 2:9.1.1230-2+deb13u1

  • vim Debian 14

    Versions
    • 2:9.1.1230-2
    • 2:9.1.1385-1
    • 2:9.1.1766-1
    • 2:9.1.1829-1
    • 2:9.1.1846-1
    • 2:9.1.1882-1
    All versions (16)
    • 2:9.1.2103-1
    • 2:9.1.2141-1
    • 2:9.2.0119-1
    • 2:9.2.0136-1
    • 2:9.2.0218-1
    • 2:9.2.0315-1
    • 2:9.2.0338-1
    • 2:9.2.0355-1
    • 2:9.2.0428-1
    • 2:9.2.0461-1
    Affected ranges
    • ECOSYSTEM: < 2:9.2.0524-1

    Update to 2:9.2.0524-1

  • vim Ubuntu Pro 14.04 LTS

    Versions
    • 2:7.4.000-1ubuntu2
    • 2:7.4.052-1ubuntu1
    • 2:7.4.052-1ubuntu2
    • 2:7.4.052-1ubuntu3
    • 2:7.4.052-1ubuntu3.1
    • 2:7.4.052-1ubuntu3.1+esm1
    All versions (31)
    • 2:7.4.052-1ubuntu3.1+esm3
    • 2:7.4.052-1ubuntu3.1+esm4
    • 2:7.4.052-1ubuntu3.1+esm5
    • 2:7.4.052-1ubuntu3.1+esm6
    • 2:7.4.052-1ubuntu3.1+esm7
    • 2:7.4.052-1ubuntu3.1+esm8
    • 2:7.4.052-1ubuntu3.1+esm9
    • 2:7.4.052-1ubuntu3.1+esm10
    • 2:7.4.052-1ubuntu3.1+esm11
    • 2:7.4.052-1ubuntu3.1+esm12
    • 2:7.4.052-1ubuntu3.1+esm13
    • 2:7.4.052-1ubuntu3.1+esm14
    • 2:7.4.052-1ubuntu3.1+esm15
    • 2:7.4.052-1ubuntu3.1+esm16
    • 2:7.4.052-1ubuntu3.1+esm17
    • 2:7.4.052-1ubuntu3.1+esm18
    • 2:7.4.052-1ubuntu3.1+esm19
    • 2:7.4.052-1ubuntu3.1+esm20
    • 2:7.4.052-1ubuntu3.1+esm21
    • 2:7.4.052-1ubuntu3.1+esm22
    • 2:7.4.052-1ubuntu3.1+esm23
    • 2:7.4.052-1ubuntu3.1+esm24
    • 2:7.4.052-1ubuntu3.1+esm25
    • 2:7.4.052-1ubuntu3.1+esm26
    • 2:7.4.052-1ubuntu3.1+esm27
    Affected ranges
    • ECOSYSTEM: < 2:7.4.052-1ubuntu3.1+esm28

    Update to 2:7.4.052-1ubuntu3.1+esm28

  • vim Ubuntu Pro 16.04 LTS

    Versions
    • 2:7.4.712-2ubuntu4
    • 2:7.4.826-1ubuntu1
    • 2:7.4.826-1ubuntu2
    • 2:7.4.826-1ubuntu3
    • 2:7.4.963-1ubuntu1
    • 2:7.4.963-1ubuntu4
    All versions (42)
    • 2:7.4.963-1ubuntu5
    • 2:7.4.1689-3ubuntu1
    • 2:7.4.1689-3ubuntu1.1
    • 2:7.4.1689-3ubuntu1.2
    • 2:7.4.1689-3ubuntu1.3
    • 2:7.4.1689-3ubuntu1.4
    • 2:7.4.1689-3ubuntu1.5
    • 2:7.4.1689-3ubuntu1.5+esm2
    • 2:7.4.1689-3ubuntu1.5+esm3
    • 2:7.4.1689-3ubuntu1.5+esm4
    • 2:7.4.1689-3ubuntu1.5+esm5
    • 2:7.4.1689-3ubuntu1.5+esm6
    • 2:7.4.1689-3ubuntu1.5+esm7
    • 2:7.4.1689-3ubuntu1.5+esm8
    • 2:7.4.1689-3ubuntu1.5+esm10
    • 2:7.4.1689-3ubuntu1.5+esm11
    • 2:7.4.1689-3ubuntu1.5+esm12
    • 2:7.4.1689-3ubuntu1.5+esm13
    • 2:7.4.1689-3ubuntu1.5+esm14
    • 2:7.4.1689-3ubuntu1.5+esm15
    • 2:7.4.1689-3ubuntu1.5+esm17
    • 2:7.4.1689-3ubuntu1.5+esm18
    • 2:7.4.1689-3ubuntu1.5+esm19
    • 2:7.4.1689-3ubuntu1.5+esm20
    • 2:7.4.1689-3ubuntu1.5+esm22
    • 2:7.4.1689-3ubuntu1.5+esm23
    • 2:7.4.1689-3ubuntu1.5+esm24
    • 2:7.4.1689-3ubuntu1.5+esm25
    • 2:7.4.1689-3ubuntu1.5+esm26
    • 2:7.4.1689-3ubuntu1.5+esm27
    • 2:7.4.1689-3ubuntu1.5+esm28
    • 2:7.4.1689-3ubuntu1.5+esm29
    • 2:7.4.1689-3ubuntu1.5+esm30
    • 2:7.4.1689-3ubuntu1.5+esm31
    • 2:7.4.1689-3ubuntu1.5+esm32
    • 2:7.4.1689-3ubuntu1.5+esm33
    Affected ranges
    • ECOSYSTEM: < 2:7.4.1689-3ubuntu1.5+esm34

    Update to 2:7.4.1689-3ubuntu1.5+esm34

  • vim Ubuntu Pro 18.04 LTS

    Versions
    • 2:8.0.0197-4ubuntu5
    • 2:8.0.1144-1ubuntu1
    • 2:8.0.1401-1ubuntu1
    • 2:8.0.1401-1ubuntu2
    • 2:8.0.1401-1ubuntu3
    • 2:8.0.1453-1ubuntu1
    All versions (34)
    • 2:8.0.1453-1ubuntu1.1
    • 2:8.0.1453-1ubuntu1.3
    • 2:8.0.1453-1ubuntu1.4
    • 2:8.0.1453-1ubuntu1.6
    • 2:8.0.1453-1ubuntu1.7
    • 2:8.0.1453-1ubuntu1.8
    • 2:8.0.1453-1ubuntu1.9
    • 2:8.0.1453-1ubuntu1.10
    • 2:8.0.1453-1ubuntu1.11
    • 2:8.0.1453-1ubuntu1.12
    • 2:8.0.1453-1ubuntu1.13
    • 2:8.0.1453-1ubuntu1.13+esm1
    • 2:8.0.1453-1ubuntu1.13+esm3
    • 2:8.0.1453-1ubuntu1.13+esm4
    • 2:8.0.1453-1ubuntu1.13+esm5
    • 2:8.0.1453-1ubuntu1.13+esm6
    • 2:8.0.1453-1ubuntu1.13+esm7
    • 2:8.0.1453-1ubuntu1.13+esm8
    • 2:8.0.1453-1ubuntu1.13+esm9
    • 2:8.0.1453-1ubuntu1.13+esm10
    • 2:8.0.1453-1ubuntu1.13+esm11
    • 2:8.0.1453-1ubuntu1.13+esm12
    • 2:8.0.1453-1ubuntu1.13+esm13
    • 2:8.0.1453-1ubuntu1.13+esm14
    • 2:8.0.1453-1ubuntu1.13+esm15
    • 2:8.0.1453-1ubuntu1.13+esm16
    • 2:8.0.1453-1ubuntu1.13+esm17
    • 2:8.0.1453-1ubuntu1.13+esm18
    Affected ranges
    • ECOSYSTEM: < 2:8.0.1453-1ubuntu1.13+esm19

    Update to 2:8.0.1453-1ubuntu1.13+esm19

  • vim Ubuntu Pro 20.04 LTS

    Versions
    • 2:8.1.0875-5ubuntu2
    • 2:8.1.0875-5ubuntu3
    • 2:8.1.0875-5ubuntu4
    • 2:8.1.2269-1ubuntu1
    • 2:8.1.2269-1ubuntu4
    • 2:8.1.2269-1ubuntu5
    All versions (36)
    • 2:8.1.2269-1ubuntu5.3
    • 2:8.1.2269-1ubuntu5.4
    • 2:8.1.2269-1ubuntu5.6
    • 2:8.1.2269-1ubuntu5.7
    • 2:8.1.2269-1ubuntu5.8
    • 2:8.1.2269-1ubuntu5.9
    • 2:8.1.2269-1ubuntu5.11
    • 2:8.1.2269-1ubuntu5.12
    • 2:8.1.2269-1ubuntu5.13
    • 2:8.1.2269-1ubuntu5.14
    • 2:8.1.2269-1ubuntu5.15
    • 2:8.1.2269-1ubuntu5.16
    • 2:8.1.2269-1ubuntu5.17
    • 2:8.1.2269-1ubuntu5.18
    • 2:8.1.2269-1ubuntu5.20
    • 2:8.1.2269-1ubuntu5.21
    • 2:8.1.2269-1ubuntu5.22
    • 2:8.1.2269-1ubuntu5.23
    • 2:8.1.2269-1ubuntu5.24
    • 2:8.1.2269-1ubuntu5.25
    • 2:8.1.2269-1ubuntu5.26
    • 2:8.1.2269-1ubuntu5.29
    • 2:8.1.2269-1ubuntu5.30
    • 2:8.1.2269-1ubuntu5.31
    • 2:8.1.2269-1ubuntu5.32
    • 2:8.1.2269-1ubuntu5.32+esm2
    • 2:8.1.2269-1ubuntu5.32+esm3
    • 2:8.1.2269-1ubuntu5.32+esm4
    • 2:8.1.2269-1ubuntu5.32+esm5
    • 2:8.1.2269-1ubuntu5.32+esm6
    Affected ranges
    • ECOSYSTEM: < 2:8.1.2269-1ubuntu5.32+esm7

    Update to 2:8.1.2269-1ubuntu5.32+esm7

  • vim Ubuntu 22.04 LTS

    Versions
    • 2:8.2.2434-3ubuntu3
    • 2:8.2.2434-3ubuntu4
    • 2:8.2.3565-1ubuntu1
    • 2:8.2.3565-1ubuntu2
    • 2:8.2.3565-1ubuntu3
    • 2:8.2.3565-1ubuntu5
    All versions (34)
    • 2:8.2.3995-1ubuntu1
    • 2:8.2.3995-1ubuntu2
    • 2:8.2.3995-1ubuntu2.1
    • 2:8.2.3995-1ubuntu2.3
    • 2:8.2.3995-1ubuntu2.4
    • 2:8.2.3995-1ubuntu2.5
    • 2:8.2.3995-1ubuntu2.7
    • 2:8.2.3995-1ubuntu2.8
    • 2:8.2.3995-1ubuntu2.9
    • 2:8.2.3995-1ubuntu2.10
    • 2:8.2.3995-1ubuntu2.11
    • 2:8.2.3995-1ubuntu2.12
    • 2:8.2.3995-1ubuntu2.13
    • 2:8.2.3995-1ubuntu2.15
    • 2:8.2.3995-1ubuntu2.16
    • 2:8.2.3995-1ubuntu2.17
    • 2:8.2.3995-1ubuntu2.18
    • 2:8.2.3995-1ubuntu2.19
    • 2:8.2.3995-1ubuntu2.20
    • 2:8.2.3995-1ubuntu2.21
    • 2:8.2.3995-1ubuntu2.22
    • 2:8.2.3995-1ubuntu2.23
    • 2:8.2.3995-1ubuntu2.24
    • 2:8.2.3995-1ubuntu2.26
    • 2:8.2.3995-1ubuntu2.27
    • 2:8.2.3995-1ubuntu2.28
    • 2:8.2.3995-1ubuntu2.29
    • 2:8.2.3995-1ubuntu2.30
    Affected ranges
    • ECOSYSTEM: < 2:8.2.3995-1ubuntu2.31

    Update to 2:8.2.3995-1ubuntu2.31

  • vim Ubuntu 24.04 LTS

    Versions
    • 2:9.0.1672-1ubuntu2
    • 2:9.0.2087-1ubuntu1
    • 2:9.0.2116-1ubuntu1
    • 2:9.0.2116-1ubuntu2
    • 2:9.0.2184-0ubuntu1
    • 2:9.0.2189-1ubuntu1
    All versions (24)
    • 2:9.1.0-1ubuntu1
    • 2:9.1.0016-1ubuntu2
    • 2:9.1.0016-1ubuntu6
    • 2:9.1.0016-1ubuntu7
    • 2:9.1.0016-1ubuntu7.1
    • 2:9.1.0016-1ubuntu7.2
    • 2:9.1.0016-1ubuntu7.3
    • 2:9.1.0016-1ubuntu7.4
    • 2:9.1.0016-1ubuntu7.5
    • 2:9.1.0016-1ubuntu7.6
    • 2:9.1.0016-1ubuntu7.7
    • 2:9.1.0016-1ubuntu7.8
    • 2:9.1.0016-1ubuntu7.9
    • 2:9.1.0016-1ubuntu7.10
    • 2:9.1.0016-1ubuntu7.11
    • 2:9.1.0016-1ubuntu7.12
    • 2:9.1.0016-1ubuntu7.13
    • 2:9.1.0016-1ubuntu7.14
    Affected ranges
    • ECOSYSTEM: < 2:9.1.0016-1ubuntu7.15

    Update to 2:9.1.0016-1ubuntu7.15

  • vim Ubuntu 25.10

    Versions
    • 2:9.1.0967-1ubuntu4
    • 2:9.1.0967-1ubuntu5
    • 2:9.1.0967-1ubuntu6
    • 2:9.1.0967-1ubuntu6.1
    • 2:9.1.0967-1ubuntu6.2
    • 2:9.1.0967-1ubuntu6.3
    All versions (8)
    • 2:9.1.0967-1ubuntu6.4
    • 2:9.1.0967-1ubuntu6.5
    Affected ranges
    • ECOSYSTEM: < 2:9.1.0967-1ubuntu6.6

    Update to 2:9.1.0967-1ubuntu6.6

Original sources

Check your server →