8.2high
Vim modeline bypass via various options affects Vim < 9.2.0276
- Severity
- 8.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.29% (higher than 14% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Vim is an open source, command line text editor. Prior to version 9.2.0276, a modeline sandbox bypass in Vim allows arbitrary OS command execution when a user opens a crafted file. The `complete`, `guitabtooltip` and `printheader` options are missing the `P_MLE` flag, allowing a modeline to be executed. Additionally, the `mapset()` function lacks a `check_secure()` call, allowing it to be abused from sandboxed expressions. Commit 9.2.0276 fixes the issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| vim vim | < 9.2.0276, before 9.2.0276 | CVE List, NVD |
| vim | Not specified Not affected: from 2:9.1.083-6.el10_1.4 before *, from 2:9.1.083-9.el10_2.2 before *, from 2:9.1.083-5.el10_0.3 before *, from 2:7.4.629-8.el7_9.2 before *, from 2:8.0.1763-22.el8_10.3 before *, from 2:8.0.1763-15.el8_4.2 before * | CVE List |
| rhcos | Not specified Not affected: from 412.86.202608241157-0 before *, from 413.92.202609080414-0 before *, from 414.92.202608172040-0 before *, from 415.92.202608180329-0 before *, from 416.94.202608150307-0 before *, from 417.94.202608250221-0 before * | CVE List |
| rhaiis/model-opt-cuda-rhel9 | Not specified Not affected: from 1782951051 before *, from 1782352950 before * | CVE List |
| rhaiis/vllm-cuda-rhel9 | Not specified Not affected: from 1782951012 before *, from 1782352847 before * | CVE List |
| rhaiis/vllm-rocm-rhel9 | Not specified Not affected: from 1782951244 before *, from 1782353093 before * | CVE List |
| rhaiis/vllm-spyre-rhel9 | Not specified Not affected: from 1782352919 before * | CVE List |
| insights-proxy/insights-proxy-container-rhel9 | Not specified Not affected: from 1780420428 before * | CVE List |
| rhui5/cds-rhel9 | Not specified Not affected: from 1779798159 before * | CVE List |
| rhui5/haproxy-rhel9 | Not specified Not affected: from 1779798164 before * | CVE List |
| rhui5/installer-rhel9 | Not specified Not affected: from 1779798165 before * | CVE List |
| rhui5/rhua-rhel9 | Not specified Not affected: from 1779798222 before * | CVE List |
| rhui5/cds-kubernetes-tp-rhel9 | Not specified Not affected: from 1787241211 before * | CVE List |
| rhui5/installer-tp-rhel9 | Not specified Not affected: from 1787135742 before * | CVE List |
| rhui5/rhua-tp-rhel9 | Not specified Not affected: from 1787241260 before * | CVE List |
| openshift/ose-rhel-coreos-9 | Not specified | CVE List |
All scores
| GitHub_M | 8.2high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
| redhat-SADP | 8.2high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
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.0276, a modeline sandbox bypass in Vim allows arbitrary OS command execution when a user opens a crafted file. The `complete`, `guitabtooltip` and `printheader` options are missing the `P_MLE` flag, allowing a modeline to be executed. Additionally, the `mapset()` function lacks a `check_secure()` call, allowing it to be abused from sandboxed expressions. Commit 9.2.0276 fixes the issue.
NVD (es)
pendiente...
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-34982 changed 2026-09-18 | CVE Terms of Use |
| NVD | CVE-2026-34982 changed 2026-10-24 | Public domain |