5.6medium
Vim affected by Command injection via newline in glob()
- Severity
- 5.6medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.11% (higher than 66% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| vim vim | < 9.2.0202, before 9.2.0202 | CVE List, NVD |
| vim | Not specified Not affected: from 2:9.1.083-6.el10_1.3 before *, from 2:9.1.083-5.el10_0.2 before *, from 2:7.4.629-5.el6_10.3 before *, from 2:7.4.629-8.el7_9.1 before *, from 2:8.0.1763-22.el8_10.1 before *, from 2:8.0.1763-13.el8_2.1 before * | CVE List |
| rhcos | Not specified Not affected: from 412.86.202604281506-0 before *, from 413.92.202604080111-0 before *, from 414.92.202605060243-0 before *, from 415.92.202605060220-0 before *, from 416.94.202604211449-0 before *, from 417.94.202605112123-0 before * | CVE List |
| rhaiis/model-opt-cuda-rhel9 | Not specified Not affected: from 1780681984 before *, from 1778244559 before * | CVE List |
| rhaiis/vllm-cuda-rhel9 | Not specified Not affected: from 1775740563 before * | CVE List |
| rhaiis/vllm-rocm-rhel9 | Not specified Not affected: from 1778244531 before * | CVE List |
| rhaiis/vllm-spyre-rhel9 | Not specified Not affected: from 1778244546 before * | CVE List |
| insights-proxy/insights-proxy-container-rhel9 | Not specified Not affected: from 1776868961 before * | CVE List |
| rhui5/cds-rhel9 | Not specified Not affected: from 1776868774 before * | CVE List |
| rhui5/haproxy-rhel9 | Not specified Not affected: from 1776868744 before * | CVE List |
| rhui5/installer-rhel9 | Not specified Not affected: from 1776868772 before * | CVE List |
| rhui5/rhua-rhel9 | Not specified Not affected: from 1776868842 before * | CVE List |
| rhui5/cds-kubernetes-tp-rhel9 | Not specified Not affected: from 1777459441 before * | CVE List |
| rhui5/installer-tp-rhel9 | Not specified Not affected: from 1777454300 before * | CVE List |
| rhui5/rhua-tp-rhel9 | Not specified Not affected: from 1777459504 before * | CVE List |
All scores
| GitHub_M | 5.6medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N |
| redhat-SADP | 7.3high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 7.3high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Vim es un editor de texto de línea de comandos, de código abierto. Antes de la versión 9.2.0202, existe una vulnerabilidad de inyección de comandos en la función glob() de Vim en sistemas tipo Unix. Al incluir un carácter de nueva línea (\n) en un patrón pasado a glob(), un atacante podría ejecutar comandos de shell arbitrarios. Esta vulnerabilidad depende de la configuración 'shell' del usuario. Este problema ha sido parcheado en la versión 9.2.0202.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-33412 changed 2026-09-01 | CVE Terms of Use |
| NVD | CVE-2026-33412 changed 2026-07-15 | Public domain |