CVE-2025-55158
CVE-2025-55158 — Vim double-free vulnerability during Vim9 script import operations
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
6.9
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.9 | CVSS 4.0 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-415
References
3 on the record
- github.com/vim/vim/security/advisories/GHSA-5fg8-wvx3-583x
x_refsource_CONFIRM
- github.com/vim/vim/commit/9772025d24e939fd84b85748ce35c26874c05775
x_refsource_MISC
- github.com/vim/vim/releases/tag/v9.1.1406
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-33824 Windows Internet Key Exchange (IKE) Service Extensions Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2018-4990 Adobe Acrobat and Reader Double Free VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2014-0502 Adobe Flash Player Double Free VulnerablityCVSS 8.8 · CISA KEV
- CVE-2020-9859 Apple Multiple Products Code Execution VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2025-62215 Windows Kernel Elevation of Privilege VulnerabilityCVSS 7.0 · CISA KEV
- CVE-2021-22600 Linux Kernel Privilege Escalation VulnerabilityCVSS 7.0 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.