DEBIAN-CVE-2026-34982
Record from OSV · Published April 6, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| vim | Debian:14 | 2:9.2.0315-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian:13 | vim | 0, 2:9.1.1230-2, 2:9.1.1385-1 |
| Debian:14 | vim | 0, 2:9.1.1230-2, 2:9.1.1385-1 |
| Debian:12 | vim | 0, 2:9.0.1378-2, 2:9.0.1378-2+deb12u1 |
Timeline
- Apr 6, 2026 CVE Published
- Oct 25, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln DEBIAN-CVE-2026-34982
vulnetix vdb fixes DEBIAN-CVE-2026-34982
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2026-34982/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart