Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-34982: 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. An attacker who can deliver a crafted file to a victim achieves arbitrary command execution with the privileges of the user running Vim.
Fixed packages 8
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | vim-common | 2:9.0.2153-1.amzn2.0.5 |
| Amazon Linux · 2 | vim-data | 2:9.0.2153-1.amzn2.0.5 |
| Amazon Linux · 2 | vim-debuginfo | 2:9.0.2153-1.amzn2.0.5 |
| Amazon Linux · 2 | vim-enhanced | 2:9.0.2153-1.amzn2.0.5 |
| Amazon Linux · 2 | vim-filesystem | 2:9.0.2153-1.amzn2.0.5 |
| Amazon Linux · 2 | vim-minimal | 2:9.0.2153-1.amzn2.0.5 |
| Amazon Linux · 2 | vim-X11 | 2:9.0.2153-1.amzn2.0.5 |
| Amazon Linux · 2 | xxd | 2:9.0.2153-1.amzn2.0.5 |
Vulnerabilities 1
-
High 8.2
Vim modeline bypass via various options affects Vim < 9.2.0276
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_M…
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2026-34982.html