# CVE-2025-29768: Vim vulnerable to potential data loss with zip.vim and special crafted zip files

> Attackers can cause data loss in Vim by tricking users into viewing crafted zip files and pressing 'x' on strange filenames.

- **Severity:** Medium 4.4 (`CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 13 Mar 2025
- **Updated:** 2 May 2025
- **Also known as:** ALPINE-CVE-2025-29768, AZL-58616, AZL-58632, BELL-CVE-2025-29768, DEBIAN-CVE-2025-29768, ECHO-650c-8906-b338, GHSA-693p-m996-3rmf, MGASA-2025-0107, OESA-2025-1351, ROOT-OS-DEBIAN-12-CVE-2025-29768

## What is CVE-2025-29768?

CVE-2025-29768 is a medium-severity vulnerability in Netapp Bootstrap Os, published on 13 Mar 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official description

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.

Weakness: CWE-88 (Improper Neutralization of Argument Delimiters in a Command)

## Which versions are affected by CVE-2025-29768?

It affects 2 products.


Products: Netapp Bootstrap Os, Vim Vim.

## How do I fix CVE-2025-29768?

Apply the vendor's patch.

## Is CVE-2025-29768 being exploited?

There is no known exploitation of CVE-2025-29768 in the wild and no public exploit code.

## Other vulnerabilities in Netapp Bootstrap Os

- [CVE-2024-43398](https://insights.sbomify.com/CVE-2024-43398/): REXML denial of service vulnerability (medium 5.9)
- [CVE-2025-30691](https://insights.sbomify.com/CVE-2025-30691/): Security feature bypass in Oracle Java SE (medium 4.8)
- [CVE-2024-43790](https://insights.sbomify.com/CVE-2024-43790/): heap-buffer-overflow in do_search() in Vim < 9.1.0689 (medium 4.5)
- [CVE-2024-39908](https://insights.sbomify.com/CVE-2024-39908/): Denial of service in REXML (medium 4.3)
- [CVE-2024-47814](https://insights.sbomify.com/CVE-2024-47814/): use-after-free when closing buffers in Vim (low 3.9)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2025-29768 and fix it if it is affected.

What it is: CVE-2025-29768 is a medium-severity vulnerability in Netapp Bootstrap Os, published on 13 Mar 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2025-29768 in the wild and no public exploit code.

Affected product: Netapp Bootstrap Os. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2025-29768/ (Markdown: https://insights.sbomify.com/CVE-2025-29768/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2025-29768
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-29768
- OSV: https://osv.dev/vulnerability/CVE-2025-29768

---
From sbomify Insights: https://insights.sbomify.com/CVE-2025-29768/
Summaries are generated and may contain mistakes; the official description above is the record.
