Skip to main content

Use After Free

CVE-2025-55157

Severity Medium
Score 6.9/10

Summary

Vim is an open-source, command-line text editor. In versions 9.1.1232 through 9.1.1399, 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.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • REQUIRED
  • NONE
  • HIGH
  • HIGH

CWE-416 - Use After Free

Use-after-free (UaF) vulnerability occurs when the application is using a pointer to memory that has been freed. Any attempt to read/write to a buffer after it is de-allocated allows memory corruption, sensitive information exposure, and can potentially lead to arbitrary code execution.

Advisory Timeline

  • Published