CVE catalog

CVE-2025-66476

vim: CVE-2025-66476

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.45% · Oct 25, 2026

Vim is an open source, command line text editor. Prior to version 9.1.1947, an uncontrolled search path vulnerability on Windows allows Vim to execute malicious executables placed in the current working directory for the current edited file. On Windows, when using cmd.exe as a shell, Vim resolves external commands by searching the current working directory before system paths. When Vim invokes tools such as findstr for :grep, external commands or filters via :!, or compiler/:make commands, it may inadvertently run a malicious executable present in the same directory as the file being edited. The issue affects Vim for Windows prior to version 9.1.1947.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianvimsid2:9.2.0858-1not affected
Debianvimforky2:9.2.0858-1not affected
Debianvimtrixie2:9.1.1230-2not affected
Debianvimbookworm2:9.0.1378-2+deb12u2not affected
CpevimNot reported9.1.1947fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebianvimsourcesidNot affectedunimportantNot reportedNot reported
DebianvimsourceforkyNot affectedunimportantNot reportedNot reported
DebianvimsourcetrixieNot affectedunimportantNot reportedNot reported
DebianvimsourcebookwormNot affectedunimportantNot reportedNot reported
CpevimcpeNot reported9.1.1947Not reportedNVD-CVE-2025-66476Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [vim]Not affected
    Details (2)
    • 2:9.0.1378-2+deb12u2 · amd64 · bookworm

      Not affected

      dsa · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · arm64 · bookworm

      Not affected

      dsa · vim · debian · bookworm

  • [vim-athena]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      dsa · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      dsa · vim · debian · bookworm

  • [vim-common]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      dsa · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      dsa · vim · debian · bookworm

  • [vim-doc]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      dsa · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      dsa · vim · debian · bookworm

  • [vim-gtk3]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · amd64 · bookworm

      Not affected

      dsa · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · arm64 · bookworm

      Not affected

      dsa · vim · debian · bookworm

  • [vim-gui-common]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      dsa · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      dsa · vim · debian · bookworm

  • [vim-motif]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · amd64 · bookworm

      Not affected

      dsa · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · arm64 · bookworm

      Not affected

      dsa · vim · debian · bookworm

  • [vim-nox]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · amd64 · bookworm

      Not affected

      dsa · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · arm64 · bookworm

      Not affected

      dsa · vim · debian · bookworm

  • [vim-runtime]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      dsa · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      dsa · vim · debian · bookworm

  • [vim-tiny]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · amd64 · bookworm

      Not affected

      dsa · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · arm64 · bookworm

      Not affected

      dsa · vim · debian · bookworm

  • [xxd]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · amd64 · bookworm

      Not affected

      dsa · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · arm64 · bookworm

      Not affected

      dsa · vim · debian · bookworm

Observed:

References