CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Vim

CVE-2025-55157
Vim vulnerability

Vim is an open source, command line text editor. In versions from 9.1.1231 to before 9.1.1400, When processing nested tuples in Vim script, an error during evaluation can trigger a use-after-free in Vim’s internal tuple reference management. Specifically, the tuple_unref() function may access already freed memory due to improper lifetime handling, leading to memory corruption. The exploit requires direct user interaction, as the script must be explicitly executed within Vim. This issue has been patched in version 9.1.1400.

Affected products

Vim. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Vim runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Vim products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.