CVE-2025-29768
Vim vulnerable to potential data loss with zip.vim and special crafted zip files
Reported by github_m · Published March 13, 2025
Vim, a text editor, is vulnerable to potential data loss with zip.vim and special crafted zip files in versions prior to 9.1.1198. The impact is medium because a user must be made to view such an archive with Vim and then press 'x' on such a strange filename. The issue has been fixed as of Vim patch v9.1.1198.
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-enhanced | Amazon Linux | 2:9.1.1202-1.amzn2023.0.1, 2:9.0.2153-1.amzn2.0.4 |
| vim | Alpine | 9.1.1202-r0 |
| vim-minimal | Amazon Linux | 2:9.1.1202-1.amzn2023.0.1 |
| vim-data | Amazon Linux | 2:9.1.1202-1.amzn2023.0.1 |
| vim-X11 | Amazon Linux | 2:9.0.2153-1.amzn2.0.4 |
| vim-common | Amazon Linux | 2:9.1.1202-1.amzn2023.0.1, 2:9.0.2153-1.amzn2.0.4 |
| vim-default-editor | Amazon Linux | 2:9.1.1202-1.amzn2023.0.1 |
| xxd | Amazon Linux | 2:9.0.2153-1.amzn2.0.4 |
| vim | vim | 9.1.1198 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vim | vim | < 9.1.1198 |
| amazon:2023 | vim-enhanced | 0 |
| alpine | vim | 0 |
| amazon:2 | vim-enhanced | 0 |
| amazon:2023 | vim-minimal | 0 |
| amazon:2023 | vim-data | 0 |
| amazon:2 | vim-X11 | 0 |
| amazon:2 | vim-common | 0 |
| amazon:2023 | vim-default-editor | 0 |
| amazon:2023 | vim-common | 0 |
| amazon:2 | xxd | 0 |
| vim | vim | 0 |
| amazon:2 | vim-minimal | 0 |
| amazon:2 | vim-data | 0 |
| amazon:2023 | xxd | 0 |
| amazon:2023 | vim-filesystem | 0 |
| amazon:2 | vim-filesystem | 0 |
Timeline
- Mar 12, 2025 CVE Published
- Mar 13, 2025 Coalition ESS Score (15 in total, the first dated here)
- Mar 14, 2025 EPSS Score (30 in total, the first dated here)
- Dec 18, 2025 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-29768
vulnetix vdb fixes CVE-2025-29768
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/CVE-2025-29768/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart