8.8

CVE-2025-55158: vim Double Free

CVSS: 8.8v3.1HighAnalyzed
AliasesUBUNTU-CVE-2025-55158
Published 11-08-2025Last modified 12-08-2025

Vulnerability summary

CVE-2025-55158 is a high (CVSS 8.8) Double Free vulnerability in vim. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 28.8% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
0.36%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 5

Timeline

  1. 11-08-2025
    PublishedVulnerability first disclosed.
  2. 12-08-2025
    Last modifiedVulnerability information updated.

Description

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 metrics

5 scores · 3 sources · 2 versions

EPSS trend

Probability

0.36%

Chance of exploitation in the next 30 days

Percentile

29%

Versus all other CVEs

30-day change

+0.01 pp

From 0.35% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.36%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu1 product
  • vimAll versions (No fix recorded)
Vim1 product
  • vim≥ 9.1.1231, < 9.1.1406

2 vendors · 2 products

References

5 links