Bug 2455400 (CVE-2026-34982) - CVE-2026-34982 vim: arbitrary command execution via modeline sandbox bypass
Summary: CVE-2026-34982 vim: arbitrary command execution via modeline sandbox bypass
Keywords:
Status: NEW
Alias: CVE-2026-34982
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2455557
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-06 16:02 UTC by OSIDB Bzimport
Modified: 2026-05-07 18:12 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2026:11630 0 None None None 2026-04-29 10:34:08 UTC
Red Hat Product Errata RHBA-2026:13415 0 None None None 2026-05-04 12:12:04 UTC
Red Hat Product Errata RHSA-2026:11389 0 None None None 2026-04-28 18:10:22 UTC
Red Hat Product Errata RHSA-2026:11509 0 None None None 2026-04-29 08:04:52 UTC
Red Hat Product Errata RHSA-2026:11510 0 None None None 2026-04-29 07:20:34 UTC

Description OSIDB Bzimport 2026-04-06 16:02:35 UTC
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.

Comment 2 errata-xmlrpc 2026-04-28 18:10:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:11389 https://access.redhat.com/errata/RHSA-2026:11389

Comment 3 errata-xmlrpc 2026-04-29 07:20:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:11510 https://access.redhat.com/errata/RHSA-2026:11510

Comment 4 errata-xmlrpc 2026-04-29 08:04:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:11509 https://access.redhat.com/errata/RHSA-2026:11509


Note You need to log in before you can comment on or make changes to this bug.