Vulnerabilities

Vulnerability · CVE-2025-55158

Vim is an open source, command line text editor.

Published Aug 11, 2025 · catalog updated Aug 12, 2025 · Vim is an open

Check this week

CVE-2025-55158 is not in CISA KEV. FIRST estimates a 37.00% chance of exploitation in the next 30 days. Check whether you run Vim is an open.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (Vim is an open).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Medium6.9
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
37.00%
Remediation
Version ranges on file
Affected products
vendor vim vim 9.1.1231, < 9.1.1406

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

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor vim vim 9.1.1231, < 9.1.14069.1.1231, < 9.1.1406

How to fix CVE-2025-55158

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2025-55158 is not in CISA KEV. FIRST estimates a 37.00% chance of exploitation in the next 30 days. Check whether you run Vim is an open.

Which versions are affected?

Compare what you have installed with vim vim 9.1.1231, < 9.1.1406 9.1.1231, < 9.1.1406. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 37.00%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Aug 11, 2025 · EUVD

    Detected

    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 handli

  2. Aug 12, 2025 · EUVD

    Updated

    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 handli

Sources

  • CVE.orgVulnerability recordCVE-2025-55158

    Official CVE identifier

    cve.org
  • EUVDVulnerability recordEUVD-2025-24192

    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. Specificall

    euvd.enisa.europa.eu

References

Freshness

Last verified in this catalog Aug 12, 2025. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.