CVE-2026-34982
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| rhel | 9 | fixed | |
| sles | affected | | |
| rocky | 9 | fixed | |
| debian | bookworm | affected | |
| debian | bullseye | affected | |
| debian | forky | fixed | 2:9.2.0315-1 |
| debian | sid | fixed | 2:9.2.0315-1 |
| debian | trixie | affected | |
References
- https://access.redhat.com/errata/RHSA-2026:11510
- https://access.redhat.com/errata/RHSA-2026:19224
- https://www.suse.com/security/cve/CVE-2026-34982.html
- https://security-tracker.debian.org/tracker/CVE-2026-34982
- https://access.redhat.com/errata/RHSA-2026:11509
- https://bugzilla.redhat.com/2455400
- https://errata.almalinux.org/8/ALSA-2026-11509.html
- https://errata.almalinux.org/9/ALSA-2026-11510.html
- https://errata.almalinux.org/9/ALSA-2026-19224.html
- https://errata.rockylinux.org/RLSA-2026:11510
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.