Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-26603

published medium CVSS 3.1 · 4.2

heap-use-after-free in function str_to_reg in vim/vim

Published
18 Feb 2025, 19:04:24 UTC
Updated
07 Mar 2025, 00:10:51 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
vim — vim< 9.1.1115 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2-2025-2827 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-932 Fixed Not stated Amazon Linux assessment
Alpine Linux edge vim Fixed 9.1.1164-r0 Package fix record
Ubuntu bionic vim Advisory build 2:8.0.1453-1ubuntu1.13+esm12 USN-7419-1
Amazon Linux AL2 vimaarch64 Listed in advisory Not stated ALAS2-2025-2827
Alpine Linux v3.22 vim Fixed 9.1.1164-r0 Package fix record
Alpine Linux v3.23 vim Fixed 9.1.1164-r0 Package fix record
Show 74 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.24 vim Fixed 9.1.1164-r0 Package fix record
Ubuntu focal vim Advisory build 2:8.1.2269-1ubuntu5.32 USN-7419-1
Ubuntu jammy vim Advisory build 2:8.2.3995-1ubuntu2.24 USN-7419-1
Ubuntu noble vim Advisory build 2:9.1.0016-1ubuntu7.8 USN-7419-1
Ubuntu trusty vim Advisory build 2:7.4.052-1ubuntu3.1+esm21 USN-7419-1
Ubuntu xenial vim Advisory build 2:7.4.1689-3ubuntu1.5+esm27 USN-7419-1
Ubuntu bionic vim-athena Advisory build 2:8.0.1453-1ubuntu1.13+esm12 USN-7419-1
Ubuntu bionic vim-common Advisory build 2:8.0.1453-1ubuntu1.13+esm12 USN-7419-1
Ubuntu bionic vim-gnome Advisory build 2:8.0.1453-1ubuntu1.13+esm12 USN-7419-1
Ubuntu bionic vim-gtk Advisory build 2:8.0.1453-1ubuntu1.13+esm12 USN-7419-1
Ubuntu bionic vim-gtk3 Advisory build 2:8.0.1453-1ubuntu1.13+esm12 USN-7419-1
Ubuntu bionic vim-gui-common Advisory build 2:8.0.1453-1ubuntu1.13+esm12 USN-7419-1
Ubuntu bionic vim-nox Advisory build 2:8.0.1453-1ubuntu1.13+esm12 USN-7419-1
Ubuntu bionic vim-runtime Advisory build 2:8.0.1453-1ubuntu1.13+esm12 USN-7419-1
Ubuntu bionic vim-tiny Advisory build 2:8.0.1453-1ubuntu1.13+esm12 USN-7419-1
Ubuntu bionic xxd Advisory build 2:8.0.1453-1ubuntu1.13+esm12 USN-7419-1
Ubuntu focal vim-athena Advisory build 2:8.1.2269-1ubuntu5.32 USN-7419-1
Ubuntu focal vim-common Advisory build 2:8.1.2269-1ubuntu5.32 USN-7419-1
Ubuntu focal vim-gtk Advisory build 2:8.1.2269-1ubuntu5.32 USN-7419-1
Ubuntu focal vim-gtk3 Advisory build 2:8.1.2269-1ubuntu5.32 USN-7419-1
Ubuntu focal vim-gui-common Advisory build 2:8.1.2269-1ubuntu5.32 USN-7419-1
Ubuntu focal vim-nox Advisory build 2:8.1.2269-1ubuntu5.32 USN-7419-1
Ubuntu focal vim-runtime Advisory build 2:8.1.2269-1ubuntu5.32 USN-7419-1
Ubuntu focal vim-tiny Advisory build 2:8.1.2269-1ubuntu5.32 USN-7419-1
Ubuntu focal xxd Advisory build 2:8.1.2269-1ubuntu5.32 USN-7419-1
Ubuntu jammy vim-athena Advisory build 2:8.2.3995-1ubuntu2.24 USN-7419-1
Ubuntu jammy vim-common Advisory build 2:8.2.3995-1ubuntu2.24 USN-7419-1
Ubuntu jammy vim-gtk Advisory build 2:8.2.3995-1ubuntu2.24 USN-7419-1
Ubuntu jammy vim-gtk3 Advisory build 2:8.2.3995-1ubuntu2.24 USN-7419-1
Ubuntu jammy vim-gui-common Advisory build 2:8.2.3995-1ubuntu2.24 USN-7419-1
Ubuntu jammy vim-nox Advisory build 2:8.2.3995-1ubuntu2.24 USN-7419-1
Ubuntu jammy vim-runtime Advisory build 2:8.2.3995-1ubuntu2.24 USN-7419-1
Ubuntu jammy vim-tiny Advisory build 2:8.2.3995-1ubuntu2.24 USN-7419-1
Ubuntu jammy xxd Advisory build 2:8.2.3995-1ubuntu2.24 USN-7419-1
Ubuntu noble vim-athena Advisory build 2:9.1.0016-1ubuntu7.8 USN-7419-1
Ubuntu noble vim-common Advisory build 2:9.1.0016-1ubuntu7.8 USN-7419-1
Ubuntu noble vim-gtk3 Advisory build 2:9.1.0016-1ubuntu7.8 USN-7419-1
Ubuntu noble vim-gui-common Advisory build 2:9.1.0016-1ubuntu7.8 USN-7419-1
Ubuntu noble vim-motif Advisory build 2:9.1.0016-1ubuntu7.8 USN-7419-1
Ubuntu noble vim-nox Advisory build 2:9.1.0016-1ubuntu7.8 USN-7419-1
Ubuntu noble vim-runtime Advisory build 2:9.1.0016-1ubuntu7.8 USN-7419-1
Ubuntu noble vim-tiny Advisory build 2:9.1.0016-1ubuntu7.8 USN-7419-1
Ubuntu noble xxd Advisory build 2:9.1.0016-1ubuntu7.8 USN-7419-1
Ubuntu trusty vim-athena Advisory build 2:7.4.052-1ubuntu3.1+esm21 USN-7419-1
Ubuntu trusty vim-common Advisory build 2:7.4.052-1ubuntu3.1+esm21 USN-7419-1
Ubuntu trusty vim-gnome Advisory build 2:7.4.052-1ubuntu3.1+esm21 USN-7419-1
Ubuntu trusty vim-gtk Advisory build 2:7.4.052-1ubuntu3.1+esm21 USN-7419-1
Ubuntu trusty vim-gui-common Advisory build 2:7.4.052-1ubuntu3.1+esm21 USN-7419-1
Ubuntu trusty vim-lesstif Advisory build 2:7.4.052-1ubuntu3.1+esm21 USN-7419-1
Ubuntu trusty vim-nox Advisory build 2:7.4.052-1ubuntu3.1+esm21 USN-7419-1
Ubuntu trusty vim-runtime Advisory build 2:7.4.052-1ubuntu3.1+esm21 USN-7419-1
Ubuntu trusty vim-tiny Advisory build 2:7.4.052-1ubuntu3.1+esm21 USN-7419-1
Ubuntu xenial vim-athena Advisory build 2:7.4.1689-3ubuntu1.5+esm27 USN-7419-1
Ubuntu xenial vim-athena-py2 Advisory build 2:7.4.1689-3ubuntu1.5+esm27 USN-7419-1
Ubuntu xenial vim-common Advisory build 2:7.4.1689-3ubuntu1.5+esm27 USN-7419-1
Ubuntu xenial vim-gnome Advisory build 2:7.4.1689-3ubuntu1.5+esm27 USN-7419-1
Ubuntu xenial vim-gnome-py2 Advisory build 2:7.4.1689-3ubuntu1.5+esm27 USN-7419-1
Ubuntu xenial vim-gtk Advisory build 2:7.4.1689-3ubuntu1.5+esm27 USN-7419-1
Ubuntu xenial vim-gtk-py2 Advisory build 2:7.4.1689-3ubuntu1.5+esm27 USN-7419-1
Ubuntu xenial vim-gtk3 Advisory build 2:7.4.1689-3ubuntu1.5+esm27 USN-7419-1
Ubuntu xenial vim-gtk3-py2 Advisory build 2:7.4.1689-3ubuntu1.5+esm27 USN-7419-1
Ubuntu xenial vim-gui-common Advisory build 2:7.4.1689-3ubuntu1.5+esm27 USN-7419-1
Ubuntu xenial vim-nox Advisory build 2:7.4.1689-3ubuntu1.5+esm27 USN-7419-1
Ubuntu xenial vim-nox-py2 Advisory build 2:7.4.1689-3ubuntu1.5+esm27 USN-7419-1
Ubuntu xenial vim-runtime Advisory build 2:7.4.1689-3ubuntu1.5+esm27 USN-7419-1
Ubuntu xenial vim-tiny Advisory build 2:7.4.1689-3ubuntu1.5+esm27 USN-7419-1
Amazon Linux AL2 vimi686 Listed in advisory Not stated ALAS2-2025-2827
Amazon Linux AL2 vimnoarch Listed in advisory Not stated ALAS2-2025-2827
Amazon Linux AL2 vimsrc Listed in advisory Not stated ALAS2-2025-2827
Amazon Linux AL2 vimx86_64 Listed in advisory Not stated ALAS2-2025-2827
Amazon Linux AL2023 vimaarch64 Listed in advisory Not stated ALAS2023-2025-932
Amazon Linux AL2023 vimnoarch Listed in advisory Not stated ALAS2023-2025-932
Amazon Linux AL2023 vimsrc Listed in advisory Not stated ALAS2023-2025-932
Amazon Linux AL2023 vimx86_64 Listed in advisory Not stated ALAS2023-2025-932

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

12

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
4.2 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
vim vim < 9.1.1115 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-416 CWE-416: Use After Free (GitHub_M · cna)

References

3

Provider assertions

3

GitHub_M · cna

heap-use-after-free in function str_to_reg in vim/vim

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
8af51905e8090f1c688ce888e75e5a28c8c32d6e8dd1b73726b2cfcdef9cecd9
Ingested
23 Sep 2026, 08:42:15 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected