Every CVE Search/ Get API key

CVE-2025-29768

Vim vulnerable to potential data loss with zip.vim and special crafted zip files

4.4 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

0.40%Up 0.4 points since Mar 14, 2025
90%50%10%1%

What each source reports

CVE List Score used 4.4

Vim vulnerable to potential data loss with zip.vim and special crafted zip files

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.

Record
CVE-2025-29768
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Weakness
CWE-88
Updated
2026-11-02
EUVDEUVD-2025-6366 4.4

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.

Record
EUVD-2025-6366
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Updated
2026-11-02
NVD 4.4

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.

Record
CVE-2025-29768
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Weakness
CWE-88
Updated
2026-11-02
OSVALPINE-CVE-2025-29768 4.4

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.

Record
ALPINE-CVE-2025-29768
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Updated
2026-11-03
OSVBELL-CVE-2025-29768 4.4
Record
BELL-CVE-2025-29768
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSV 4.4

Vim vulnerable to potential data loss with zip.vim and special crafted zip files

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.

Record
CVE-2025-29768
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Weakness
CWE-88
Updated
2026-11-02
Show 10 moreShow less
OSVDEBIAN-CVE-2025-29768 4.4

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.

Record
DEBIAN-CVE-2025-29768
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVOESA-2025-1351 4.4

vim security update

Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor 'Vi', with a more complete feature set. Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems.

Security Fix(es):

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.(CVE-2025-29768)

Record
OESA-2025-1351
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVROOT-OS-DEBIAN-12-CVE-2025-29768 4.4

CVE-2025-29768 in vim - Patched by Root

Root has patched CVE-2025-29768 in the vim package for Root:Debian:12. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-12-CVE-2025-29768
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVAZL-58616 No score

CVE-2025-29768 affecting package vim for versions less than 9.1.1198-1

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.

Record
AZL-58616
Updated
2026-11-02
OSVAZL-58632 No score

CVE-2025-29768 affecting package vim for versions less than 9.1.1198-1

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.

Record
AZL-58632
Updated
2026-11-02
OSVCLSA-2025-1765208529 No score

vim: Fix of 2 CVEs

  • CVE-2025-53906: drop leading ../ on write of zipfiles, don't forcefully overwrite existing files
  • CVE-2025-29768: use glob '[-]' to protect filenames starting with '-'
Record
CLSA-2025-1765208529
Updated
2026-11-02
OSVMGASA-2025-0107 No score

Updated vim packages fix security vulnerability

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

Record
MGASA-2025-0107
Updated
2026-11-02
OSVSUSE-SU-2025:02226-1 No score

Security update for vim

This update for vim fixes the following issues:

  • CVE-2024-41965: Fixed improper neutralization of argument delimiters in zip.vim that could have led to data loss (bsc#1228776).
  • CVE-2025-29768: Fixed double-free in dialog_changed() (bsc#1239602).
Record
SUSE-SU-2025:02226-1
Updated
2026-11-02
OSVSUSE-SU-2025:02227-1 No score

Security update for vim

This update for vim fixes the following issues:

  • CVE-2024-41965: Fixed improper neutralization of argument delimiters in zip.vim that could have led to data loss (bsc#1228776).
  • CVE-2025-29768: Fixed double-free in dialog_changed() (bsc#1239602).
Record
SUSE-SU-2025:02227-1
Updated
2026-11-02
OSVSUSE-SU-2025:02228-1 No score

Security update for vim

This update for vim fixes the following issues:

  • CVE-2024-41965: Fixed improper neutralization of argument delimiters in zip.vim that could have led to data loss (bsc#1228776).
  • CVE-2025-29768: Fixed double-free in dialog_changed() (bsc#1239602).
Record
SUSE-SU-2025:02228-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
vim
Alpine:v3.22
before 9.1.1202-r0
9.1.1202-r0
vim
Alpine:v3.23
before 9.1.1202-r0
9.1.1202-r0
vim
Alpine:v3.24
before 9.1.1202-r0
9.1.1202-r0
vim
Azure Linux:3
before 9.1.1198-1
9.1.1198-1
vim
Azure Linux:2
before 9.1.1198-1
9.1.1198-1
vim
Alpaquita:23
9.0.0820-r2 up to 9.1.1202-r0
9.1.1202-r0
vim
Alpaquita:stream
9.0.1395-r0 up to 9.1.1202-r0
9.1.1202-r0
vim-X11
TuxCare:AlmaLinux:9.2
From an advisory covering 2 CVEs
before 2:8.2.2637-20.el9_1.tuxcare.els11
2:8.2.2637-20.el9_1.tuxcare.els11
vim-common
TuxCare:AlmaLinux:9.2
From an advisory covering 2 CVEs
before 2:8.2.2637-20.el9_1.tuxcare.els11
2:8.2.2637-20.el9_1.tuxcare.els11
vim-enhanced
TuxCare:AlmaLinux:9.2
From an advisory covering 2 CVEs
before 2:8.2.2637-20.el9_1.tuxcare.els11
2:8.2.2637-20.el9_1.tuxcare.els11
Show 39 moreShow less
Affected packages
PackageAffectedFixed
vim-filesystem
TuxCare:AlmaLinux:9.2
From an advisory covering 2 CVEs
before 2:8.2.2637-20.el9_1.tuxcare.els11
2:8.2.2637-20.el9_1.tuxcare.els11
vim-minimal
TuxCare:AlmaLinux:9.2
From an advisory covering 2 CVEs
before 2:8.2.2637-20.el9_1.tuxcare.els11
2:8.2.2637-20.el9_1.tuxcare.els11
vim
Debian:12
All versions, plus listed versions
2:9.0.1378-22:9.0.1378-2+deb12u12:9.0.1378-2+deb12u22:9.0.1658-12:9.0.1672-1
Show 40 moreShow less
2:9.0.1894-12:9.0.2018-12:9.0.2087-12:9.0.2103-12:9.0.2116-12:9.0.2189-12:9.1.0-12:9.1.0016-12:9.1.0199-12:9.1.0374-12:9.1.0377-12:9.1.0496-12:9.1.0698-12:9.1.0709-12:9.1.0709-22:9.1.0777-12:9.1.0861-12:9.1.0967-12:9.1.0967-22:9.1.1113-12:9.1.1230-12:9.1.1230-22:9.1.1385-12:9.1.1766-12:9.1.1829-12:9.1.1846-12:9.1.1882-12:9.1.2103-12:9.1.2141-12:9.2.0119-12:9.2.0136-12:9.2.0218-12:9.2.0315-12:9.2.0338-12:9.2.0355-12:9.2.0428-12:9.2.0461-12:9.2.0524-12:9.2.0782-12:9.2.0858-1
None known
vim
Debian:13
before 2:9.1.1230-1
2:9.1.1230-1
vim
Debian:14
before 2:9.1.1230-1
2:9.1.1230-1
vim
Mageia:9
before 9.1.1202-1.mga9
9.1.1202-1.mga9
vim
openEuler:22.03-LTS-SP3
before 9.0-33.oe2203sp3
9.0-33.oe2203sp3
vim
openEuler:22.03-LTS-SP4
before 9.0-33.oe2203sp4
9.0-33.oe2203sp4
vim
openEuler:24.03-LTS
before 9.0.2092-18.oe2403sp1
9.0.2092-18.oe2403sp1
vim
openEuler:24.03-LTS-SP1
before 9.0.2092-18.oe2403sp1
9.0.2092-18.oe2403sp1
vim
openEuler:20.03-LTS-SP4
before 9.0-33.oe2003sp4
9.0-33.oe2003sp4
vim
Root:Debian:12
before 2:9.0.1378-2+deb12u2.root.io.5
2:9.0.1378-2+deb12u2.root.io.52:9.0.1378-2+deb12u2.root.io.72:9.0.1378-2+deb12u2.root.io.82:9.0.1378-2+deb12u2.root.io.142:9.0.1378-2+deb12u2.root.io.152:9.0.1378-2+deb12u2.root.io.62:9.0.1378-2+deb12u2.root.io.42:9.0.1378-2+deb12u2.root.io.92:9.0.1378-2+deb12u2.root.io.102:9.0.1378-2+deb12u2.root.io.112:9.0.1378-2+deb12u2.root.io.122:9.0.1378-2+deb12u2.root.io.132:9.0.1378-2+deb12u2.root.io.162:9.0.1378-2+deb12u2.aikido.202:9.0.1378-2+deb12u2.root.io.172:9.0.1378-2+deb12u2.root.io.192:9.0.1378-2+deb12u2.root.io.182:9.0.1378-2+deb12u2.aikido.21
rootio-vim
Root:Debian:12
before 2:9.0.1378-2+deb12u2.root.io.5
2:9.0.1378-2+deb12u2.root.io.52:9.0.1378-2+deb12u2.root.io.72:9.0.1378-2+deb12u2.root.io.82:9.0.1378-2+deb12u2.root.io.142:9.0.1378-2+deb12u2.root.io.152:9.0.1378-2+deb12u2.root.io.62:9.0.1378-2+deb12u2.root.io.42:9.0.1378-2+deb12u2.root.io.92:9.0.1378-2+deb12u2.root.io.102:9.0.1378-2+deb12u2.root.io.112:9.0.1378-2+deb12u2.root.io.122:9.0.1378-2+deb12u2.root.io.132:9.0.1378-2+deb12u2.root.io.162:9.0.1378-2+deb12u2.aikido.202:9.0.1378-2+deb12u2.root.io.172:9.0.1378-2+deb12u2.root.io.192:9.0.1378-2+deb12u2.root.io.182:9.0.1378-2+deb12u2.aikido.21
vim
SUSE:Linux Enterprise Micro 5.5
From an advisory covering 2 CVEs
before 9.1.1406-150500.20.27.1
9.1.1406-150500.20.27.1
vim
SUSE:Linux Enterprise Module for Basesystem 15 SP6
From an advisory covering 2 CVEs
before 9.1.1406-150500.20.27.1
9.1.1406-150500.20.27.1
vim
SUSE:Linux Enterprise Module for Basesystem 15 SP7
From an advisory covering 2 CVEs
before 9.1.1406-150500.20.27.1
9.1.1406-150500.20.27.1
vim
SUSE:Linux Enterprise Module for Desktop Applications 15 SP6
From an advisory covering 2 CVEs
before 9.1.1406-150500.20.27.1
9.1.1406-150500.20.27.1
vim
SUSE:Linux Enterprise Module for Desktop Applications 15 SP7
From an advisory covering 2 CVEs
before 9.1.1406-150500.20.27.1
9.1.1406-150500.20.27.1
vim
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS
From an advisory covering 2 CVEs
before 9.1.1406-150500.20.27.1
9.1.1406-150500.20.27.1
vim
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS
From an advisory covering 2 CVEs
before 9.1.1406-150500.20.27.1
9.1.1406-150500.20.27.1
vim
SUSE:Linux Enterprise Server 15 SP5-LTSS
From an advisory covering 2 CVEs
before 9.1.1406-150500.20.27.1
9.1.1406-150500.20.27.1
vim
SUSE:Linux Enterprise Server for SAP Applications 15 SP5
From an advisory covering 2 CVEs
before 9.1.1406-150500.20.27.1
9.1.1406-150500.20.27.1
vim
openSUSE:Leap 15.6
From an advisory covering 2 CVEs
before 9.1.1406-150500.20.27.1
9.1.1406-150500.20.27.1
vim
SUSE:Linux Enterprise Server 12 SP5-LTSS
From an advisory covering 2 CVEs
before 9.1.1406-17.48.1
9.1.1406-17.48.1
vim
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5
From an advisory covering 2 CVEs
before 9.1.1406-17.48.1
9.1.1406-17.48.1
vim
SUSE:Linux Enterprise Micro 5.3
From an advisory covering 2 CVEs
before 9.1.1406-150000.5.75.1
9.1.1406-150000.5.75.1
vim
SUSE:Linux Enterprise Micro 5.4
From an advisory covering 2 CVEs
before 9.1.1406-150000.5.75.1
9.1.1406-150000.5.75.1
vim
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS
From an advisory covering 2 CVEs
before 9.1.1406-150000.5.75.1
9.1.1406-150000.5.75.1
vim
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS
From an advisory covering 2 CVEs
before 9.1.1406-150000.5.75.1
9.1.1406-150000.5.75.1
vim
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS
From an advisory covering 2 CVEs
before 9.1.1406-150000.5.75.1
9.1.1406-150000.5.75.1
vim
SUSE:Linux Enterprise Server 15 SP3-LTSS
From an advisory covering 2 CVEs
before 9.1.1406-150000.5.75.1
9.1.1406-150000.5.75.1
vim
SUSE:Linux Enterprise Server 15 SP4-LTSS
From an advisory covering 2 CVEs
before 9.1.1406-150000.5.75.1
9.1.1406-150000.5.75.1
vim
SUSE:Linux Enterprise Server for SAP Applications 15 SP3
From an advisory covering 2 CVEs
before 9.1.1406-150000.5.75.1
9.1.1406-150000.5.75.1
vim
SUSE:Linux Enterprise Server for SAP Applications 15 SP4
From an advisory covering 2 CVEs
before 9.1.1406-150000.5.75.1
9.1.1406-150000.5.75.1
vim
SUSE:Manager Proxy 4.3
From an advisory covering 2 CVEs
before 9.1.1406-150000.5.75.1
9.1.1406-150000.5.75.1
vim
SUSE:Manager Server 4.3
From an advisory covering 2 CVEs
before 9.1.1406-150000.5.75.1
9.1.1406-150000.5.75.1
vim
SUSE:Linux Enterprise Micro 5.1
From an advisory covering 2 CVEs
before 9.1.1406-150000.5.75.1
9.1.1406-150000.5.75.1
vim
SUSE:Linux Enterprise Micro 5.2
From an advisory covering 2 CVEs
before 9.1.1406-150000.5.75.1
9.1.1406-150000.5.75.1
vim
SUSE:Enterprise Storage 7.1
From an advisory covering 2 CVEs
before 9.1.1406-150000.5.75.1
9.1.1406-150000.5.75.1

History

History
RecordedChangedSources
affected, facts
affectedOSV
first indexedCVE List, EUVD, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-29768 is a medium vulnerability (CVSS 4.4) in Vim, published March 13, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.40%, the 34th percentile. Fixed in vim 9.1.1202-r0.

References

Show 14 moreShow less
MoveEnter Open