CVE catalog

CVE-2025-55158

vim: CVE-2025-55158

[CVE catalog]

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

Vim is an open source, command line text editor. In versions from 9.1.1231 to before 9.1.1406, when processing nested tuples during Vim9 script import operations, an error during evaluation can trigger a double-free in Vim’s internal typed value (typval_T) management. Specifically, the clear_tv() function may attempt to free memory that has already been deallocated, due to improper lifetime handling in the handle_import / ex_import code paths. The vulnerability can only be triggered if a user explicitly opens and executes a specially crafted Vim script. This issue has been patched in version 9.1.1406.

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

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebianvimsourcesidNot affectedunimportantNot reportedNot reported
DebianvimsourceforkyNot affectedunimportantNot reportedNot reported
DebianvimsourcetrixieNot affectedunimportantNot reportedNot reported
DebianvimsourcebookwormNot affectedunimportantNot reportedNot 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