---
cve: "CVE-2026-34982"
severity: "HIGH"
cvss: 8.2
epss: "47%"
vendor: "vim"
kev: false
exploited: false
published: "2026-04-06 16:16:38"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-15T12:38:09+02:00"
---

# CVE-2026-34982

> 8.2 HIGH · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Erforderlich | good |
| S Scope | Verändert | bad |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- 75661a66a1db1e1f3f1245c615f13a7de44c0587 (Commit)
- 75661a66a1db1e1f3f1245c615 (Commit)

## Referenzen

- <https://github.com/vim/vim/security/advisories/GHSA-8h6p-m6gr-mpw9>
- <https://github.com/vim/vim/commit/75661a66a1db1e1f3f1245c615>
- <https://github.com/vim/vim/releases/tag/v9.2.0276>
- <http://www.openwall.com/lists/oss-security/2026/04/01/1>
- <https://access.redhat.com/errata/RHSA-2026:11389>
- <https://access.redhat.com/errata/RHSA-2026:11509>
- <https://access.redhat.com/errata/RHSA-2026:11510>
- <https://access.redhat.com/errata/RHSA-2026:19073>
- <https://access.redhat.com/errata/RHSA-2026:19224>
- <https://access.redhat.com/errata/RHSA-2026:21275>
- <https://access.redhat.com/errata/RHSA-2026:22634>
- <https://access.redhat.com/errata/RHSA-2026:28049>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-34982) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
