Skip to main content
VulnerabilityPublished Updated

CVE-2025-26603: Vim is a greatly improved version of the good old UNIX editor Vi

Affects vimSource GCVE Database

0
Compare

Not known to be exploited · CVSS 4.2 Medium · fixed in 2:7.4.052-1ubuntu3.1+esm21 : update vim when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
4.2Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2:7.4.052-1ubuntu3.1+esm21, 2:7.4.1689-3ubuntu1.5+esm27, 2:8.0.1453-1ubuntu1.13+esm12 +3
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Feb 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSvimpkg:deb/ubuntu/vim?arch=source&distro=nobleOther threatsAffected
  • <2:9.1.0016-1ubuntu7.8
Fixed in
  • 2:9.1.0016-1ubuntu7.8
Ubuntu 22.04 LTSvimpkg:deb/ubuntu/vim?arch=source&distro=jammyOther threatsAffected
  • <2:8.2.3995-1ubuntu2.24
Fixed in
  • 2:8.2.3995-1ubuntu2.24
Ubuntu 20.04 LTSvimpkg:deb/ubuntu/vim?arch=source&distro=focalOther threatsAffected
  • <2:8.1.2269-1ubuntu5.32
Fixed in
  • 2:8.1.2269-1ubuntu5.32
Ubuntu Pro 18.04 LTSvimpkg:deb/ubuntu/vim?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <2:8.0.1453-1ubuntu1.13+esm12
Fixed in
  • 2:8.0.1453-1ubuntu1.13+esm12
Ubuntu Pro 16.04 LTSvimpkg:deb/ubuntu/vim?arch=source&distro=esm-infra/xenialOther threatsAffected
  • <2:7.4.1689-3ubuntu1.5+esm27
Fixed in
  • 2:7.4.1689-3ubuntu1.5+esm27
Ubuntu Pro 14.04 LTSvimpkg:deb/ubuntu/vim?arch=source&distro=esm-infra-legacy/trustyOther threatsAffected
  • <2:7.4.052-1ubuntu3.1+esm21
Fixed in
  • 2:7.4.052-1ubuntu3.1+esm21

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Vim is a greatly improved version of the good old UNIX editor Vi. Vim allows to redirect screen messages using the `:redir` ex command to register, variables and files. It also allows to show the contents of registers using the `:registers` or `:display` ex command. When redirecting the output of `:display` to a register, Vim will free the register content before storing the new content in the register. Now when redirecting the `:display` command to a register that is being displayed, Vim will free the content while shortly afterwards trying to access it, which leads to a use-after-free. Vim pre 9.1.1115 checks in the ex_display() function, that it does not try to redirect to a register while displaying this register at the same time. However this check is not complete, and so Vim does not check the `+` and `*` registers (which typically donate the X11/clipboard registers, and when a clipboard connection is not possible will fall back to use register 0 instead. In Patch 9.1.1115 Vim will therefore skip outputting to register zero when trying to redirect to the clipboard registers `*` or `+`. Users are advised to upgrade. There are no known workarounds for this vulnerability.

References

Community reviews

Loading reviews…