High severity8.2NVD Advisory· Published Apr 6, 2026· Updated Apr 22, 2026
CVE-2026-34982
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
35- osv-coords33 versionspkg:rpm/almalinux/vim-commonpkg:rpm/almalinux/vim-datapkg:rpm/almalinux/vim-enhancedpkg:rpm/almalinux/vim-filesystempkg:rpm/almalinux/vim-minimalpkg:rpm/almalinux/vim-X11pkg:rpm/almalinux/xxdpkg:rpm/opensuse/vim&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/vim&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/vim&distro=openSUSE%20Tumbleweedpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOSpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSSpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOSpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSSpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Micro%205.4pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Micro%205.5pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP7pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSSpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSSpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSSpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP6-LTSSpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP6pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5pkg:rpm/suse/vim&distro=SUSE%20Linux%20Micro%206.0pkg:rpm/suse/vim&distro=SUSE%20Linux%20Micro%206.1pkg:rpm/suse/vim&distro=SUSE%20Linux%20Micro%206.2
< 2:8.0.1763-22.el8_10.3+ 32 more
- (no CPE)range: < 2:8.0.1763-22.el8_10.3
- (no CPE)range: < 2:9.1.083-6.el10_1.4
- (no CPE)range: < 2:8.0.1763-22.el8_10.3
- (no CPE)range: < 2:9.1.083-6.el10_1.4
- (no CPE)range: < 2:8.0.1763-22.el8_10.3
- (no CPE)range: < 2:8.0.1763-22.el8_10.3
- (no CPE)range: < 2:9.1.083-9.el10_2.2
- (no CPE)range: < 9.2.0280-150500.20.46.1
- (no CPE)range: < 9.2.0280-160000.1.1
- (no CPE)range: < 9.2.0398-1.1
- (no CPE)range: < 9.2.0280-150000.5.89.1
- (no CPE)range: < 9.2.0280-150000.5.89.1
- (no CPE)range: < 9.2.0280-150500.20.46.1
- (no CPE)range: < 9.2.0280-150500.20.46.1
- (no CPE)range: < 9.2.0280-150000.5.89.1
- (no CPE)range: < 9.2.0280-150000.5.89.1
- (no CPE)range: < 9.2.0280-150000.5.89.1
- (no CPE)range: < 9.2.0280-150500.20.46.1
- (no CPE)range: < 9.2.0280-150500.20.46.1
- (no CPE)range: < 9.2.0280-150500.20.46.1
- (no CPE)range: < 9.2.0280-17.62.1
- (no CPE)range: < 9.2.0280-150000.5.89.1
- (no CPE)range: < 9.2.0280-150500.20.46.1
- (no CPE)range: < 9.2.0280-150500.20.46.1
- (no CPE)range: < 9.2.0280-160000.1.1
- (no CPE)range: < 9.2.0280-150000.5.89.1
- (no CPE)range: < 9.2.0280-150500.20.46.1
- (no CPE)range: < 9.2.0280-150500.20.46.1
- (no CPE)range: < 9.2.0280-160000.1.1
- (no CPE)range: < 9.2.0280-17.62.1
- (no CPE)range: < 9.2.0280-1.1
- (no CPE)range: < 9.2.0280-slfo.1.1_1.1
- (no CPE)range: < 9.2.0280-160000.1.1
Patches
Vulnerability mechanics
References
4- www.openwall.com/lists/oss-security/2026/04/01/1nvdMailing ListPatchThird Party Advisory
- github.com/vim/vim/commit/75661a66a1db1e1f3f1245c615nvdPatch
- github.com/vim/vim/security/advisories/GHSA-8h6p-m6gr-mpw9nvdPatchVendor Advisory
- github.com/vim/vim/releases/tag/v9.2.0276nvdRelease Notes
News mentions
0No linked articles in our index yet.