Vim is an open source, command line text editor. Prior to version 9.2.0202, a command injection vulnerability exists in Vim's glob() function on Unix-like systems. By including a newline character (\n) in a pattern passed to glob(), an attacker may be able to execute arbitrary shell commands. This vulnerability depends on the user's 'shell' setting. This issue has been patched in version 9.2.0202.
| Version | Base score | Base severity | Vector |
|---|---|---|---|
| 3.1 | 5.6 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N |
| CAPEC ID | Description |
|---|
| Event | Date |
|---|
| Hyperlink | Resource |
|---|---|
| https://github.com/vim/vim/security/advisories/GHSA-w5jw-f54h-x46c | x_refsource_CONFIRM |
| https://github.com/vim/vim/commit/645ed6597d1ea896c712cd7ddbb6edee79577e9a | x_refsource_MISC |
| https://github.com/vim/vim/releases/tag/v9.2.0202 | x_refsource_MISC |
| Version | Base score | Base severity | Vector |
|---|
| CAPEC ID | Description |
|---|
| Event | Date |
|---|
| Hyperlink | Resource |
|---|---|
| http://www.openwall.com/lists/oss-security/2026/03/19/10 | N/A |
| Version | Base score | Base severity | Vector |
|---|
| CAPEC ID | Description |
|---|
| Event | Date |
|---|
| Hyperlink | Resource |
|---|
A flaw was found in Vim. By including a newline character in a pattern passed to Vim's glob() function, an attacker may be able to execute arbitrary shell commands. This command injection vulnerability allows for arbitrary code execution, depending on the user's shell settings.
| Version | Base score | Base severity | Vector |
|---|---|---|---|
| 3.1 | 7.3 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| CAPEC ID | Description |
|---|
RHSA-2026:6725: Red Hat Enterprise Linux Server -EXTENSION(v. 6 ELS-EXTENSION)
RHSA-2026:6617: Red Hat Enterprise Linux Server (v. 7 ELS)
RHSA-2026:12274: Red Hat OpenShift Container Platform 4.12
RHSA-2026:7239: Red Hat OpenShift Container Platform 4.13
RHSA-2026:15087: Red Hat OpenShift Container Platform 4.14
RHSA-2026:14773: Red Hat OpenShift Container Platform 4.15
RHSA-2026:10097: Red Hat OpenShift Container Platform 4.16
RHSA-2026:17596: Red Hat OpenShift Container Platform 4.17
RHSA-2026:8423: Red Hat OpenShift Container Platform 4.18
RHSA-2026:7243: Red Hat OpenShift Container Platform 4.19
RHSA-2026:6502: Red Hat Enterprise Linux AppStream EUS (v. 10.0), Red Hat Enterprise Linux BaseOS EUS (v. 10.0)
RHSA-2026:7711: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux BaseOS (v. 10)
RHSA-2026:6915: Red Hat Enterprise Linux AppStream (v. 8), Red Hat Enterprise Linux BaseOS (v. 8)
RHSA-2026:6730: Red Hat Enterprise Linux AppStream AUS (v. 8.2), Red Hat Enterprise Linux BaseOS AUS (v. 8.2)
RHSA-2026:6729: Red Hat Enterprise Linux AppStream AUS (v.8.4), Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4), Red Hat Enterprise Linux BaseOS AUS (v.8.4), Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4)
RHSA-2026:6731: Red Hat Enterprise Linux AppStream AUS (v.8.6), Red Hat Enterprise Linux AppStream E4S (v.8.6), Red Hat Enterprise Linux AppStream TUS (v.8.6), Red Hat Enterprise Linux BaseOS AUS (v.8.6), Red Hat Enterprise Linux BaseOS E4S (v.8.6), Red Hat Enterprise Linux BaseOS TUS (v.8.6)
RHSA-2026:6736: Red Hat Enterprise Linux AppStream E4S (v.8.8), Red Hat Enterprise Linux AppStream TUS (v.8.8), Red Hat Enterprise Linux BaseOS E4S (v.8.8), Red Hat Enterprise Linux BaseOS TUS (v.8.8)
RHSA-2026:6619: Red Hat Enterprise Linux AppStream E4S (v.9.0), Red Hat Enterprise Linux BaseOS E4S (v.9.0)
RHSA-2026:6620: Red Hat Enterprise Linux AppStream E4S (v.9.2), Red Hat Enterprise Linux BaseOS E4S (v.9.2)
RHSA-2026:6540: Red Hat Enterprise Linux AppStream EUS (v.9.4), Red Hat Enterprise Linux BaseOS EUS (v.9.4)
RHSA-2026:6539: Red Hat Enterprise Linux AppStream EUS (v.9.6), Red Hat Enterprise Linux BaseOS EUS (v.9.6)
RHSA-2026:8259: Red Hat Enterprise Linux AppStream (v. 9), Red Hat Enterprise Linux BaseOS (v. 9)
RHSA-2026:25096: Red Hat AI Inference Server 3.2
RHSA-2026:7335: Red Hat AI Inference Server 3.2
RHSA-2026:16008: Red Hat AI Inference Server 3.3
RHSA-2026:16009: Red Hat AI Inference Server 3.3
RHSA-2026:16174: Red Hat AI Inference Server 3.3
RHSA-2026:9832: Red Hat Insights proxy 1.5
RHSA-2026:11768: Red Hat Update Infrastructure 5
RHSA-2026:10065: Red Hat Update Infrastructure 5
| Event | Date |
|---|---|
| Reported to Red Hat. | 2026-03-24 20:02:21 |
| Made public. | 2026-03-24 19:43:07 |