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-2026-59856

published high CVSS 4.0 · 8.4

Vim: Arbitrary Code Execution via PHP Omni-Completion

Published
09 Jul 2026, 22:39:01 UTC
Updated
14 Jul 2026, 03:55:39 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
vim — vim< 9.2.0736 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2-2026-3829 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1993 Fixed Not stated Amazon Linux assessment
Alpine Linux edge vim Fixed 9.2.0747-r0 Package fix record
Debian trixie vim Advisory build 2:9.1.1230-2+deb13u1 DSA-6600-1
Red Hat Enterprise Linux RHEL-10 vimsrc Advisory build 2:9.1.083-5.el10_0.4 RHSA-2026:55431
SUSE / openSUSE SLE-12-SP5 vimaarch64 Advisory build 9.2.0780-17.73.1 SUSE-SU-2026:3237-1
Ubuntu jammy vim Advisory build 2:8.2.3995-1ubuntu2.34 USN-8541-1
Show 95 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 vim-data Advisory build 2:9.1.083-9.el10_2.12 ALSA-2026:48650
Oracle Linux 10 vim-X11aarch64 Advisory build 2:9.1.083-9.0.1.el10_2.12 ELSA-2026-48650
Alpine Linux v3.23 vim Fixed 9.2.0854-r0 Package fix record
Alpine Linux v3.24 vim Fixed 9.2.0747-r0 Package fix record
Red Hat Enterprise Linux RHEL-10 vimsrc Advisory build 2:9.1.083-9.el10_2.12 RHSA-2026:48650
Red Hat Enterprise Linux RHEL-9 vimsrc Advisory build 2:8.2.2637-20.el9_2.3 RHSA-2026:72466
Red Hat Enterprise Linux RHEL-9 vimsrc Advisory build 2:8.2.2637-20.el9_4.4 RHSA-2026:72465
Red Hat Enterprise Linux RHEL-9 vimsrc Advisory build 2:8.2.2637-22.el9_6.4 RHSA-2026:70818
Red Hat Enterprise Linux RHEL-9 vimsrc Advisory build 2:8.2.2637-26.el9_8.13 RHSA-2026:47982
SUSE / openSUSE SLE-12-SP5 vimppc64le Advisory build 9.2.0780-17.73.1 SUSE-SU-2026:3237-1
SUSE / openSUSE SLE-12-SP5 vims390x Advisory build 9.2.0780-17.73.1 SUSE-SU-2026:3237-1
SUSE / openSUSE SLE-12-SP5 vimx86_64 Advisory build 9.2.0780-17.73.1 SUSE-SU-2026:3237-1
SUSE / openSUSE SLE-15-SP4 vimaarch64 Advisory build 9.2.0780-150000.5.99.1 SUSE-SU-2026:3271-1
SUSE / openSUSE SLE-15-SP4 vimppc64le Advisory build 9.2.0780-150000.5.99.1 SUSE-SU-2026:3271-1
SUSE / openSUSE SLE-15-SP4 vims390x Advisory build 9.2.0780-150000.5.99.1 SUSE-SU-2026:3271-1
SUSE / openSUSE SLE-15-SP4 vimx86_64 Advisory build 9.2.0780-150000.5.99.1 SUSE-SU-2026:3271-1
SUSE / openSUSE SLE-15-SP5 vimaarch64 Advisory build 9.2.0780-150500.20.61.2 SUSE-SU-2026:3458-1
SUSE / openSUSE SLE-15-SP5 vimppc64le Advisory build 9.2.0780-150500.20.61.2 SUSE-SU-2026:3458-1
SUSE / openSUSE SLE-15-SP5 vims390x Advisory build 9.2.0780-150500.20.61.2 SUSE-SU-2026:3458-1
SUSE / openSUSE SLE-15-SP5 vimx86_64 Advisory build 9.2.0780-150500.20.61.2 SUSE-SU-2026:3458-1
SUSE / openSUSE SLE-15-SP6 vimaarch64 Advisory build 9.2.0780-150500.20.61.2 SUSE-SU-2026:3458-1
SUSE / openSUSE SLE-15-SP6 vimppc64le Advisory build 9.2.0780-150500.20.61.2 SUSE-SU-2026:3458-1
SUSE / openSUSE SLE-15-SP6 vims390x Advisory build 9.2.0780-150500.20.61.2 SUSE-SU-2026:3458-1
SUSE / openSUSE SLE-15-SP6 vimx86_64 Advisory build 9.2.0780-150500.20.61.2 SUSE-SU-2026:3458-1
SUSE / openSUSE SLE-15-SP7 vimaarch64 Advisory build 9.2.0780-150500.20.61.2 SUSE-SU-2026:3458-1
SUSE / openSUSE SLE-15-SP7 vimppc64le Advisory build 9.2.0780-150500.20.61.2 SUSE-SU-2026:3458-1
SUSE / openSUSE SLE-15-SP7 vims390x Advisory build 9.2.0780-150500.20.61.2 SUSE-SU-2026:3458-1
SUSE / openSUSE SLE-15-SP7 vimx86_64 Advisory build 9.2.0780-150500.20.61.2 SUSE-SU-2026:3458-1
SUSE / openSUSE SLE-16 vimaarch64 Advisory build 9.2.0780-160000.1.1 SUSE-SU-2026:22821-1
SUSE / openSUSE SLE-16 vimppc64le Advisory build 9.2.0780-160000.1.1 SUSE-SU-2026:22821-1
SUSE / openSUSE SLE-16 vims390x Advisory build 9.2.0780-160000.1.1 SUSE-SU-2026:22821-1
SUSE / openSUSE SLE-16 vimx86_64 Advisory build 9.2.0780-160000.1.1 SUSE-SU-2026:22821-1
SUSE / openSUSE openSUSE-Leap-16.0 vimaarch64 Advisory build 9.2.0780-160000.1.1 OPENSUSE-SU-2026:21374-1
SUSE / openSUSE openSUSE-Leap-16.0 vimppc64le Advisory build 9.2.0780-160000.1.1 OPENSUSE-SU-2026:21374-1
SUSE / openSUSE openSUSE-Leap-16.0 vims390x Advisory build 9.2.0780-160000.1.1 OPENSUSE-SU-2026:21374-1
SUSE / openSUSE openSUSE-Leap-16.0 vimx86_64 Advisory build 9.2.0780-160000.1.1 OPENSUSE-SU-2026:21374-1
Ubuntu noble vim Advisory build 2:9.1.0016-1ubuntu7.18 USN-8541-1
Ubuntu resolute vim Advisory build 2:9.1.2141-1ubuntu4.7 USN-8541-1
AlmaLinux 10 vim-filesystem Advisory build 2:9.1.083-9.el10_2.12 ALSA-2026:48650
AlmaLinux 9 vim-X11 Advisory build 2:8.2.2637-26.el9_8.13 ALSA-2026:47982
AlmaLinux 9 vim-common Advisory build 2:8.2.2637-26.el9_8.13 ALSA-2026:47982
AlmaLinux 9 vim-enhanced Advisory build 2:8.2.2637-26.el9_8.13 ALSA-2026:47982
AlmaLinux 9 vim-filesystem Advisory build 2:8.2.2637-26.el9_8.13 ALSA-2026:47982
AlmaLinux 9 vim-minimal Advisory build 2:8.2.2637-26.el9_8.13 ALSA-2026:47982
Oracle Linux 10 vim-X11x86_64 Advisory build 2:9.1.083-9.0.1.el10_2.12 ELSA-2026-48650
Oracle Linux 10 vim-commonaarch64 Advisory build 2:9.1.083-9.0.1.el10_2.12 ELSA-2026-48650
Oracle Linux 10 vim-commonx86_64 Advisory build 2:9.1.083-9.0.1.el10_2.12 ELSA-2026-48650
Oracle Linux 10 vim-dataaarch64 Advisory build 2:9.1.083-9.0.1.el10_2.12 ELSA-2026-48650
Oracle Linux 10 vim-datax86_64 Advisory build 2:9.1.083-9.0.1.el10_2.12 ELSA-2026-48650
Oracle Linux 10 vim-enhancedaarch64 Advisory build 2:9.1.083-9.0.1.el10_2.12 ELSA-2026-48650
Oracle Linux 10 vim-enhancedx86_64 Advisory build 2:9.1.083-9.0.1.el10_2.12 ELSA-2026-48650
Oracle Linux 10 vim-filesystemaarch64 Advisory build 2:9.1.083-9.0.1.el10_2.12 ELSA-2026-48650
Oracle Linux 10 vim-filesystemx86_64 Advisory build 2:9.1.083-9.0.1.el10_2.12 ELSA-2026-48650
Oracle Linux 10 vim-minimalaarch64 Advisory build 2:9.1.083-9.0.1.el10_2.12 ELSA-2026-48650
Oracle Linux 10 vim-minimalx86_64 Advisory build 2:9.1.083-9.0.1.el10_2.12 ELSA-2026-48650
Oracle Linux 10 xxdaarch64 Advisory build 2:9.1.083-9.0.1.el10_2.12 ELSA-2026-48650
Oracle Linux 10 xxdx86_64 Advisory build 2:9.1.083-9.0.1.el10_2.12 ELSA-2026-48650
Oracle Linux 9 vim-X11aarch64 Advisory build 2:8.2.2637-26.0.1.el9_8.13 ELSA-2026-47982
Oracle Linux 9 vim-X11x86_64 Advisory build 2:8.2.2637-26.0.1.el9_8.13 ELSA-2026-47982
Oracle Linux 9 vim-commonaarch64 Advisory build 2:8.2.2637-26.0.1.el9_8.13 ELSA-2026-47982
Oracle Linux 9 vim-commonx86_64 Advisory build 2:8.2.2637-26.0.1.el9_8.13 ELSA-2026-47982
Oracle Linux 9 vim-enhancedaarch64 Advisory build 2:8.2.2637-26.0.1.el9_8.13 ELSA-2026-47982
Oracle Linux 9 vim-enhancedx86_64 Advisory build 2:8.2.2637-26.0.1.el9_8.13 ELSA-2026-47982
Oracle Linux 9 vim-filesystemaarch64 Advisory build 2:8.2.2637-26.0.1.el9_8.13 ELSA-2026-47982
Oracle Linux 9 vim-filesystemx86_64 Advisory build 2:8.2.2637-26.0.1.el9_8.13 ELSA-2026-47982
Oracle Linux 9 vim-minimalaarch64 Advisory build 2:8.2.2637-26.0.1.el9_8.13 ELSA-2026-47982
Oracle Linux 9 vim-minimalx86_64 Advisory build 2:8.2.2637-26.0.1.el9_8.13 ELSA-2026-47982
Red Hat Enterprise Linux RHEL-10 vim-X11aarch64 Advisory build 2:9.1.083-5.el10_0.4 RHSA-2026:55431
Red Hat Enterprise Linux RHEL-10 vim-X11aarch64 Advisory build 2:9.1.083-9.el10_2.12 RHSA-2026:48650
Red Hat Enterprise Linux RHEL-10 vim-X11ppc64le Advisory build 2:9.1.083-5.el10_0.4 RHSA-2026:55431
Red Hat Enterprise Linux RHEL-10 vim-X11ppc64le Advisory build 2:9.1.083-9.el10_2.12 RHSA-2026:48650
Red Hat Enterprise Linux RHEL-10 vim-X11s390x Advisory build 2:9.1.083-5.el10_0.4 RHSA-2026:55431
Red Hat Enterprise Linux RHEL-10 vim-X11s390x Advisory build 2:9.1.083-9.el10_2.12 RHSA-2026:48650
Red Hat Enterprise Linux RHEL-10 vim-X11x86_64 Advisory build 2:9.1.083-5.el10_0.4 RHSA-2026:55431
Red Hat Enterprise Linux RHEL-10 vim-X11x86_64 Advisory build 2:9.1.083-9.el10_2.12 RHSA-2026:48650
Red Hat Enterprise Linux RHEL-10 vim-commonaarch64 Advisory build 2:9.1.083-5.el10_0.4 RHSA-2026:55431
Red Hat Enterprise Linux RHEL-10 vim-commonaarch64 Advisory build 2:9.1.083-9.el10_2.12 RHSA-2026:48650
Red Hat Enterprise Linux RHEL-10 vim-commonppc64le Advisory build 2:9.1.083-5.el10_0.4 RHSA-2026:55431
Red Hat Enterprise Linux RHEL-10 vim-commonppc64le Advisory build 2:9.1.083-9.el10_2.12 RHSA-2026:48650
Red Hat Enterprise Linux RHEL-10 vim-commons390x Advisory build 2:9.1.083-5.el10_0.4 RHSA-2026:55431
Red Hat Enterprise Linux RHEL-10 vim-commons390x Advisory build 2:9.1.083-9.el10_2.12 RHSA-2026:48650
Red Hat Enterprise Linux RHEL-10 vim-commonx86_64 Advisory build 2:9.1.083-5.el10_0.4 RHSA-2026:55431
Red Hat Enterprise Linux RHEL-10 vim-commonx86_64 Advisory build 2:9.1.083-9.el10_2.12 RHSA-2026:48650
Red Hat Enterprise Linux RHEL-10 vim-enhancedaarch64 Advisory build 2:9.1.083-5.el10_0.4 RHSA-2026:55431
Red Hat Enterprise Linux RHEL-10 vim-enhancedaarch64 Advisory build 2:9.1.083-9.el10_2.12 RHSA-2026:48650
Red Hat Enterprise Linux RHEL-10 vim-enhancedppc64le Advisory build 2:9.1.083-5.el10_0.4 RHSA-2026:55431
Red Hat Enterprise Linux RHEL-10 vim-enhancedppc64le Advisory build 2:9.1.083-9.el10_2.12 RHSA-2026:48650
Red Hat Enterprise Linux RHEL-10 vim-enhanceds390x Advisory build 2:9.1.083-5.el10_0.4 RHSA-2026:55431
Red Hat Enterprise Linux RHEL-10 vim-enhanceds390x Advisory build 2:9.1.083-9.el10_2.12 RHSA-2026:48650
Red Hat Enterprise Linux RHEL-10 vim-enhancedx86_64 Advisory build 2:9.1.083-5.el10_0.4 RHSA-2026:55431
Red Hat Enterprise Linux RHEL-10 vim-enhancedx86_64 Advisory build 2:9.1.083-9.el10_2.12 RHSA-2026:48650
Red Hat Enterprise Linux RHEL-9 vim-X11aarch64 Advisory build 2:8.2.2637-20.el9_2.3 RHSA-2026:72466
Red Hat Enterprise Linux RHEL-9 vim-X11aarch64 Advisory build 2:8.2.2637-20.el9_4.4 RHSA-2026:72465
Red Hat Enterprise Linux RHEL-9 vim-X11aarch64 Advisory build 2:8.2.2637-22.el9_6.4 RHSA-2026:70818
Red Hat Enterprise Linux RHEL-9 vim-X11aarch64 Advisory build 2:8.2.2637-26.el9_8.13 RHSA-2026:47982

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

Vim is an open source, command line text editor. Prior to 9.2.0736, the PHP omni-completion script in runtime/autoload/phpcomplete.vim interpolates a class or trait name, taken from the contents of the edited buffer, into a search() pattern that is run via win_execute() without escaping. A name containing a single quote can terminate the search() string argument early, and because the bar is honored as an Ex command separator, the remainder of the name is run as Ex commands; via the :! command this allows arbitrary operating-system command execution when a victim opens a crafted PHP file and invokes omni-completion. This issue is fixed in version 9.2.0736.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

30

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
8.4 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

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

Weaknesses

1
  • CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection') (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

Vim: Arbitrary Code Execution via PHP Omni-Completion

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
264fca2a98f18704534875bb93f184943ee8b734828185bee1216149b96af541
Ingested
23 Sep 2026, 09:22:51 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