Double Free Affecting vim-data package, versions <9.1.1629-150500.20.33.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.37% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES156-VIMDATA-13023693
  • published24 Sept 2025
  • disclosed23 Sept 2025

Introduced: 23 Sep 2025

CVE-2025-55158  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade SLES:15.6 vim-data to version 9.1.1629-150500.20.33.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vim-data package and not the vim-data package as distributed by SLES. See How to fix? for SLES:15.6 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1